equal
deleted
inserted
replaced
|
1 from cubicweb.devtools import qunit |
|
2 |
|
3 from os import path as osp |
|
4 |
|
5 |
|
6 class JScript(qunit.QUnitTestCase): |
|
7 |
|
8 all_js_tests = ( |
|
9 ("/static/jstests/test_utils.js", ( |
|
10 "/data/cubicweb.js", |
|
11 "/data/cubicweb.compat.js", |
|
12 "/data/cubicweb.python.js", |
|
13 "/static/jstests/utils.js", |
|
14 ), |
|
15 ), |
|
16 |
|
17 ("/static/jstests/test_htmlhelpers.js", ( |
|
18 "/data/cubicweb.js", |
|
19 "/data/cubicweb.compat.js", |
|
20 "/data/cubicweb.python.js", |
|
21 "/data/cubicweb.htmlhelpers.js", |
|
22 ), |
|
23 ), |
|
24 |
|
25 ("/static/jstests/test_ajax.js", ( |
|
26 "/data/cubicweb.python.js", |
|
27 "/data/cubicweb.js", |
|
28 "/data/cubicweb.compat.js", |
|
29 "/data/cubicweb.htmlhelpers.js", |
|
30 "/data/cubicweb.ajax.js", |
|
31 ), |
|
32 ), |
|
33 ) |
|
34 |
|
35 |
|
36 if __name__ == '__main__': |
|
37 from unittest import main |
|
38 main() |