[FIX] test_lint: also ignore js files in static/src/tests directory

This commit is contained in:
Christophe Simonis
2019-06-14 18:09:58 +02:00
parent 131e478ae6
commit ced0e5becf
@@ -34,7 +34,7 @@ class TestECMAScriptVersion(TransactionCase):
files_to_check = []
for p in mod_paths:
for dp, _, file_names in os.walk(p):
if 'static/test' in dp:
if 'static/test' in dp or "static/src/tests" in dp:
continue
for fn in file_names:
fullpath_name = os.path.join(dp, fn)