web/test/test_jscript.py
author Rémi Cardona <remi.cardona@logilab.fr>
Tue, 22 Sep 2015 15:36:32 +0200
changeset 10605 61521bee2b68
parent 10583 97c88aa7c779
child 10887 a0315e9f4c20
permissions -rw-r--r--
[py3k] import SimpleCookie using six.moves

from cubicweb.devtools.qunit import QUnitTestCase, unittest_main

from os import path as osp


class JScript(QUnitTestCase):

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

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

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


if __name__ == '__main__':
    unittest_main()