Merge pull request #2268 from coreos-inc/frontend-testing-framework

Front-end testing framework
This commit is contained in:
Alec Merdler 2017-01-11 16:20:40 -08:00 committed by GitHub
commit 081424ed82
14 changed files with 556 additions and 138 deletions

View file

@ -136,7 +136,7 @@ def random_string():
def list_files(path, extension):
import os
def matches(f):
return os.path.splitext(f)[1] == '.' + extension
return os.path.splitext(f)[1] == '.' + extension and f.split(os.path.extsep)[1] != 'spec'
def join_path(dp, f):
# Remove the static/ prefix. It is added in the template.