devtools/qunit.py
branchstable
changeset 7051 34d8b36480a9
parent 6535 972bd504daf6
child 7363 2293c49b290a
equal deleted inserted replaced
7050:3f2857704444 7051:34d8b36480a9
     6 from subprocess import Popen, check_call, CalledProcessError
     6 from subprocess import Popen, check_call, CalledProcessError
     7 from shutil import rmtree, copy as copyfile
     7 from shutil import rmtree, copy as copyfile
     8 from uuid import uuid4 
     8 from uuid import uuid4 
     9 
     9 
    10 # imported by default to simplify further import statements
    10 # imported by default to simplify further import statements
    11 from logilab.common.testlib import unittest_main, with_tempdir, InnerTest
    11 from logilab.common.testlib import unittest_main, with_tempdir, InnerTest, Tags
    12 from logilab.common.shellutils import getlogin
    12 from logilab.common.shellutils import getlogin
    13 
    13 
    14 import cubicweb
    14 import cubicweb
    15 from cubicweb.view import StartupView
    15 from cubicweb.view import StartupView
    16 from cubicweb.web.controller import Controller
    16 from cubicweb.web.controller import Controller
    84         rmtree(self._tmp_dir)
    84         rmtree(self._tmp_dir)
    85 
    85 
    86 
    86 
    87 class QUnitTestCase(CubicWebServerTC):
    87 class QUnitTestCase(CubicWebServerTC):
    88 
    88 
       
    89     tags = CubicWebServerTC.tags | Tags(('qunit',))
       
    90 
    89     # testfile, (dep_a, dep_b)
    91     # testfile, (dep_a, dep_b)
    90     all_js_tests = ()
    92     all_js_tests = ()
    91 
    93 
    92     def setUp(self):
    94     def setUp(self):
    93         super(QUnitTestCase, self).setUp()
    95         super(QUnitTestCase, self).setUp()