server/test/unittest_tools.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 20 May 2009 14:19:02 +0200
branchstable
changeset 1880 293fe4b49e28
parent 1802 d628defebc17
child 1977 606923dff11b
permissions -rw-r--r--
two in one: #343320: Logging out while deleting a CWUser blocks the cw server / #342692: ensure transaction state when Ctrl-C or other stop signal is received

from logilab.common.testlib import TestCase, unittest_main

class ImportTC(TestCase):
    def test(self):
        # the minimal test: module is importable...
        import cubicweb.server.server
        import cubicweb.server.checkintegrity
        import cubicweb.server.serverctl

if __name__ == '__main__':
    unittest_main()