[test] kill unused lgc.testlib imports
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 06 Aug 2015 15:24:16 +0200
changeset 10572 2d5f7780b568
parent 10571 2cd8933fd875
child 10573 e4a807b49b58
[test] kill unused lgc.testlib imports
server/test/unittest_ldapsource.py
web/test/unittest_form.py
--- a/server/test/unittest_ldapsource.py	Tue Aug 25 11:09:22 2015 +0200
+++ b/server/test/unittest_ldapsource.py	Thu Aug 06 15:24:16 2015 +0200
@@ -25,8 +25,6 @@
 import subprocess
 import tempfile
 
-from logilab.common.testlib import TestCase, unittest_main, mock_object, Tags
-
 from cubicweb import AuthenticationError
 from cubicweb.devtools.testlib import CubicWebTC
 from cubicweb.devtools.repotest import RQLGeneratorTC
@@ -480,4 +478,5 @@
 
 
 if __name__ == '__main__':
+    from logilab.common.testlib import unittest_main
     unittest_main()
--- a/web/test/unittest_form.py	Tue Aug 25 11:09:22 2015 +0200
+++ b/web/test/unittest_form.py	Thu Aug 06 15:24:16 2015 +0200
@@ -21,7 +21,7 @@
 from xml.etree.ElementTree import fromstring
 from lxml import html
 
-from logilab.common.testlib import unittest_main, mock_object
+from logilab.common.testlib import unittest_main
 
 from cubicweb import Binary, ValidationError
 from cubicweb.devtools.testlib import CubicWebTC