equal
deleted
inserted
replaced
|
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 ) |