|
1 from cubicweb.devtools.qunit import QUnitTestCase, unittest_main |
|
2 |
|
3 from os import path as osp |
|
4 |
|
5 |
|
6 class JScript(QUnitTestCase): |
|
7 |
|
8 all_js_tests = ( |
|
9 ("jstests/test_datetime.js",( |
|
10 "../data/cubicweb.js", |
|
11 "../data/cubicweb.compat.js",)), |
|
12 ("jstests/test_htmlhelpers.js", ( |
|
13 "../data/cubicweb.js", |
|
14 "../data/cubicweb.compat.js", |
|
15 "../data/cubicweb.python.js", |
|
16 "../data/cubicweb.htmlhelpers.js")), |
|
17 ("jstests/test_ajax.js",( |
|
18 "../data/cubicweb.python.js", |
|
19 "../data/cubicweb.js", |
|
20 "../data/cubicweb.compat.js", |
|
21 "../data/cubicweb.htmlhelpers.js", |
|
22 "../data/cubicweb.ajax.js", |
|
23 ),( |
|
24 "jstests/ajax_url0.html", |
|
25 "jstests/ajax_url1.html", |
|
26 "jstests/ajax_url2.html", |
|
27 "jstests/ajaxresult.json", |
|
28 )) |
|
29 ) |
|
30 |
|
31 |
|
32 if __name__ == '__main__': |
|
33 unittest_main() |