[PATCH 03 of 24 Openidrelay cube] Use unittest from std lib

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 09:53:46 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585471022 0
#      Sun Mar 29 08:37:02 2020 +0000
# Node ID a59072710e63aeff9aae79e6f4613153afac54cc
# Parent  5cfe61c4e877a963b94072678b7193603dd51a50
Use unittest from std lib

diff --git a/test/test_openidrelay.py b/test/test_openidrelay.py
--- a/test/test_openidrelay.py
+++ b/test/test_openidrelay.py
@@ -57,5 +57,5 @@
 
 
 if __name__ == '__main__':
-    from logilab.common.testlib import unittest_main
-    unittest_main()
+    import unittest
+    unittest.main()




More information about the cubicweb-devel mailing list