[PATCH 1 of 6 rememberme] [test] Use unittest.main()

Denis Laxalde denis.laxalde at logilab.fr
Mon Jun 4 12:06:54 CEST 2018


# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1528099214 -7200
#      Mon Jun 04 10:00:14 2018 +0200
# Node ID ecf39fc0f89cea168ef081e9ab40fa3597b4d7fc
# Parent  ee6f8c82e69eaba87a753eca08d229af6ff6575b
# Available At http://hg.logilab.org/review/cubes/rememberme
#              hg pull http://hg.logilab.org/review/cubes/rememberme -r ecf39fc0f89c
# EXP-Topic py3
[test] Use unittest.main()

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


More information about the cubicweb-devel mailing list