# HG changeset patch # User Denis Laxalde # Date 1477292573 -7200 # Node ID def9b3757945a7a73e53a519d689d4a38765545d # Parent 8f264d98d6fd830b8fab9b38206533d6ab8b121e [test] Use stdlib unittest.main() in qunit diff -r 8f264d98d6fd -r def9b3757945 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()