cubicweb/devtools/test/unittest_qunit.py
changeset 11898 c5d3382f14e9
parent 11076 403a901b6b1e
child 12824 bc623a3e44e9
equal deleted inserted replaced
11897:2ceb0bfa4b3f 11898:c5d3382f14e9
       
     1 from unittest import SkipTest
       
     2 
     1 from cubicweb.devtools import qunit
     3 from cubicweb.devtools import qunit
     2 
     4 
     3 
     5 
     4 def js(name):
     6 def js(name):
     5     return '/static/js_examples/' + name
     7     return '/static/js_examples/' + name
     6 
     8 
     7 class QUnitTestCaseTC(qunit.QUnitTestCase):
     9 class QUnitTestCaseTC(qunit.QUnitTestCase):
     8 
    10 
       
    11     timeout_error = SkipTest
     9     all_js_tests = (
    12     all_js_tests = (
    10                     (js('test_simple_success.js'),),
    13                     (js('test_simple_success.js'),),
    11                     (js('test_with_dep.js'), (js('dep_1.js'),)),
    14                     (js('test_with_dep.js'), (js('dep_1.js'),)),
    12                     (js('test_with_ordered_deps.js'), (js('dep_1.js'), js('deps_2.js'),)),
    15                     (js('test_with_ordered_deps.js'), (js('dep_1.js'), js('deps_2.js'),)),
    13                    )
    16                    )