changeset 10887 | a0315e9f4c20 |
parent 10583 | 97c88aa7c779 |
child 10935 | 049209b9e9d6 |
--- a/web/test/test_jscript.py Tue Sep 01 17:13:16 2015 +0200 +++ b/web/test/test_jscript.py Wed Sep 02 12:08:31 2015 +0200 @@ -1,9 +1,9 @@ -from cubicweb.devtools.qunit import QUnitTestCase, unittest_main +from cubicweb.devtools import qunit from os import path as osp -class JScript(QUnitTestCase): +class JScript(qunit.QUnitTestCase): all_js_tests = ( ("jstests/test_utils.js", ( @@ -34,4 +34,5 @@ if __name__ == '__main__': - unittest_main() + from unittest import main + main()