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

Sylvain Thenault sylvain.thenault at logilab.fr
Fri Mar 3 15:23:36 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 07d3de8ce6261b170822ddd5fe6861da740f5e92
# Parent  390dc681b9201acfccacbe85c348351ba352cb10
[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