web/test/test_jscript.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 23 Feb 2016 11:45:54 +0100
changeset 11149 1b93ff37755b
parent 10935 049209b9e9d6
permissions -rw-r--r--
[pkg] 3.22.2

from cubicweb.devtools import qunit

from os import path as osp


class JScript(qunit.QUnitTestCase):

    all_js_tests = (
        ("/static/jstests/test_utils.js", (
            "/data/cubicweb.js",
            "/data/cubicweb.compat.js",
            "/data/cubicweb.python.js",
            "/static/jstests/utils.js",
            ),
         ),

        ("/static/jstests/test_htmlhelpers.js", (
            "/data/cubicweb.js",
            "/data/cubicweb.compat.js",
            "/data/cubicweb.python.js",
            "/data/cubicweb.htmlhelpers.js",
            ),
         ),

        ("/static/jstests/test_ajax.js", (
            "/data/cubicweb.python.js",
            "/data/cubicweb.js",
            "/data/cubicweb.compat.js",
            "/data/cubicweb.htmlhelpers.js",
            "/data/cubicweb.ajax.js",
            ),
         ),
    )


if __name__ == '__main__':
    from unittest import main
    main()