diff options
| author | Xavier Dubuc <xdu@odoo.com> | 2020-06-09 10:56:18 +0000 |
|---|---|---|
| committer | Xavier Dubuc <xdu@odoo.com> | 2020-06-09 11:10:40 +0000 |
| commit | c50cc1ddacb42bfc38a9830149c57b5277c6a4b7 (patch) | |
| tree | f94fab43d84a4c12f5810afa8cebfe4596e91886 /addons/web/tests | |
| parent | 893ec20236251f84dba117c709dd892645b78b9a (diff) | |
[FIX] web: QUnit.only detection is now back in business
Assets bundle names have been changed in #48676 but QUnit.only uses check was
still using old names. This commit makes that check use the new names.
task-2274185
closes odoo/odoo#52687
Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
Diffstat (limited to 'addons/web/tests')
| -rw-r--r-- | addons/web/tests/test_js.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/tests/test_js.py b/addons/web/tests/test_js.py index ffaf11392f2..4d97e5f28d0 100644 --- a/addons/web/tests/test_js.py +++ b/addons/web/tests/test_js.py @@ -16,8 +16,8 @@ class WebSuite(odoo.tests.HttpCase): def test_check_suite(self): # verify no js test is using `QUnit.only` as it forbid any other test to be executed - self._check_only_call('web.qunit_suite') - self._check_only_call('web.qunit_mobile_suite') + self._check_only_call('web.qunit_suite_tests') + self._check_only_call('web.qunit_mobile_suite_tests') def _check_only_call(self, suite): # As we currently aren't in a request context, we can't render `web.layout`. |
