[PATCH 03 of 16 Mailinglist cube] [new style] use unittest from std lib

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 09:45:18 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585461328 0
#      Sun Mar 29 05:55:28 2020 +0000
# Node ID e23cb983830cefdb4c758a2f7d4c99221c80e1b9
# Parent  60bb7b1b40922526c93b9c0bb3896572c0cdc325
[new style] use unittest from std lib

diff --git a/test/test_mailinglist.py b/test/test_mailinglist.py
--- a/test/test_mailinglist.py
+++ b/test/test_mailinglist.py
@@ -1,4 +1,4 @@
-from logilab.common.testlib import unittest_main
+import unittest
 from cubicweb.devtools.testlib import AutomaticWebTest
 
 class AutomaticWebTest(AutomaticWebTest):
@@ -10,4 +10,4 @@
         return ()
 
 if __name__ == '__main__':
-    unittest_main()
+    unittest.main()




More information about the cubicweb-devel mailing list