From ced0e5becf6b8edf74b3207ca751643b677bac8b Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Fri, 14 Jun 2019 16:38:01 +0200 Subject: [PATCH] [FIX] test_lint: also ignore js files in `static/src/tests` directory --- odoo/addons/test_lint/tests/test_ecmascript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/addons/test_lint/tests/test_ecmascript.py b/odoo/addons/test_lint/tests/test_ecmascript.py index 46008b0587d..cf12ad475b0 100644 --- a/odoo/addons/test_lint/tests/test_ecmascript.py +++ b/odoo/addons/test_lint/tests/test_ecmascript.py @@ -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)