web/test/test_jscript.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 23 Jul 2015 12:32:51 +0200
changeset 10583 97c88aa7c779
parent 8879 982a49239420
child 10887 a0315e9f4c20
permissions -rw-r--r--
[qunit] remove unused 'data_files' parameter Its use was removed when we stoppped pointing firefox at file:// web/test/jstests/ajax_url2.html has never actually been used, it's only been ever mentioned in a QUnit comment.

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()