Test: use unittest standard library
authorNsukami Patrick <ndkpatt at gmail dot com>
Tue, 05 Mar 2019 14:06:07 +0000
changeset 383 2f8add201e76
parent 382 6b60ac372cdc
child 384 d6f50d7c648b
Test: use unittest standard library
test/test_blog.py
test/unittest_blog.py
--- a/test/test_blog.py	Tue Mar 05 14:05:12 2019 +0000
+++ b/test/test_blog.py	Tue Mar 05 14:06:07 2019 +0000
@@ -1,4 +1,4 @@
-from logilab.common.testlib import unittest_main
+import unittest
 from cubicweb.devtools.testlib import AutomaticWebTest
 
 
@@ -9,4 +9,4 @@
 
 
 if __name__ == '__main__':
-    unittest_main()
+    unittest.main()
--- a/test/unittest_blog.py	Tue Mar 05 14:05:12 2019 +0000
+++ b/test/unittest_blog.py	Tue Mar 05 14:06:07 2019 +0000
@@ -1,6 +1,6 @@
 """Blog unit tests"""
 
-from logilab.common.testlib import unittest_main
+import unittest
 from cubicweb.devtools.testlib import CubicWebTC, MAILBOX
 
 
@@ -70,4 +70,4 @@
 
 
 if __name__ == '__main__':
-    unittest_main()
+    unittest.main()