diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-06-14 16:38:01 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-06-14 18:09:58 +0200 |
| commit | ced0e5becf6b8edf74b3207ca751643b677bac8b (patch) | |
| tree | a82daa7251e0e8545260abb36886ea2e3c80ae50 | |
| parent | 131e478ae6ff96f922f154723eeb196cb7ee50fc (diff) | |
[FIX] test_lint: also ignore js files in `static/src/tests` directory
| -rw-r--r-- | odoo/addons/test_lint/tests/test_ecmascript.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
