[test] Prefer unittest.main
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 21 Jun 2016 13:49:32 +0200
changeset 11333 094b29cf2dc9
parent 11332 7187bf515251
child 11334 4f2382b08e32
[test] Prefer unittest.main
cubicweb/dataimport/test/test_massive_store.py
cubicweb/dataimport/test/test_stores.py
--- a/cubicweb/dataimport/test/test_massive_store.py	Tue Jun 21 13:49:15 2016 +0200
+++ b/cubicweb/dataimport/test/test_massive_store.py	Tue Jun 21 13:49:32 2016 +0200
@@ -286,5 +286,5 @@
 
 
 if __name__ == '__main__':
-    from logilab.common.testlib import unittest_main
-    unittest_main()
+    import unittest
+    unittest.main()
--- a/cubicweb/dataimport/test/test_stores.py	Tue Jun 21 13:49:15 2016 +0200
+++ b/cubicweb/dataimport/test/test_stores.py	Tue Jun 21 13:49:32 2016 +0200
@@ -146,5 +146,5 @@
 
 
 if __name__ == '__main__':
-    from logilab.common.testlib import unittest_main
-    unittest_main()
+    import unittest
+    unittest.main()