cubicweb/devtools/qunit.py
changeset 11742 def9b3757945
parent 11165 c6fe858f6b90
child 11744 a6dc650bc230
--- a/cubicweb/devtools/qunit.py	Tue Aug 16 16:00:32 2016 +0200
+++ b/cubicweb/devtools/qunit.py	Mon Oct 24 09:02:53 2016 +0200
@@ -25,7 +25,7 @@
 from six.moves.queue import Queue, Empty
 
 # imported by default to simplify further import statements
-from logilab.common.testlib import unittest_main, with_tempdir, Tags
+from logilab.common.testlib import with_tempdir, Tags
 import webtest.http
 
 import cubicweb
@@ -290,4 +290,5 @@
 
 
 if __name__ == '__main__':
-    unittest_main()
+    import unittest
+    unittest.main()