[test] Use plain unittest in unittest_toolsutils
authorDenis Laxalde <denis.laxalde@logilab.fr>
Fri, 26 Aug 2016 13:56:59 +0200
changeset 11451 ae58ba20418c
parent 11450 c7296e06e74e
child 11452 628dd5832495
[test] Use plain unittest in unittest_toolsutils
cubicweb/test/unittest_toolsutils.py
--- a/cubicweb/test/unittest_toolsutils.py	Mon May 30 21:35:50 2016 +0200
+++ b/cubicweb/test/unittest_toolsutils.py	Fri Aug 26 13:56:59 2016 +0200
@@ -17,12 +17,12 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 
 
-from logilab.common.testlib import TestCase, unittest_main
+import unittest
 
 from cubicweb.toolsutils import RQLExecuteMatcher
 
 
-class RQLExecuteMatcherTests(TestCase):
+class RQLExecuteMatcherTests(unittest.TestCase):
     def matched_query(self, text):
         match = RQLExecuteMatcher.match(text)
         if match is None:
@@ -54,4 +54,4 @@
 
 
 if __name__ == '__main__':
-    unittest_main()
+    unittest.main()