[PATCH 2 of 4 compound] [test] Stop using lgc.testlib.main

Sylvain Thenault sylvain.thenault at logilab.fr
Fri Mar 3 15:19:47 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1488550691 -3600
#      Fri Mar 03 15:18:11 2017 +0100
# Node ID 8b5353e053930eece4cbfe56e2653ce6ea87e9f7
# Parent  11f8c87e093e4a69e10221b1e4e9133dd825d0f7
[test] Stop using lgc.testlib.main

diff --git a/test/test_compound.py b/test/test_compound.py
--- a/test/test_compound.py
+++ b/test/test_compound.py
@@ -424,7 +424,7 @@ class CloneTC(CubicWebTC):
                 'Any X WHERE X clone_of O, O eid %s' % original_eid)
             self.assertTrue(rset)
 
 
 if __name__ == '__main__':
-    from logilab.common.testlib import unittest_main
-    unittest_main()
+    import unittest
+    unittest.main()


More information about the saem-devel mailing list