[test] Use stdlib unittest.main() in qunit
authorDenis Laxalde <denis.laxalde@logilab.fr>
Mon, 24 Oct 2016 09:02:53 +0200
changeset 11742 def9b3757945
parent 11741 8f264d98d6fd
child 11743 48d70d143dc1
[test] Use stdlib unittest.main() in qunit
cubicweb/devtools/qunit.py
--- 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()