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

Sylvain Thenault sylvain.thenault at logilab.fr
Fri Mar 3 16:35:27 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 dffc9e8cb00c92ad374b0641dba72f0a4d9ac782
# Parent  a0ea8bd7d97e021daaed4e8daad73403a5c10dec
[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