--- a/cubicweb/web/test/unittest_request.py Fri Nov 04 11:56:00 2016 +0100
+++ b/cubicweb/web/test/unittest_request.py Fri Nov 04 11:57:09 2016 +0100
@@ -1,9 +1,9 @@
"""misc. unittests for utility functions
"""
-from logilab.common.testlib import TestCase, unittest_main
+import unittest
+from functools import partial
-from functools import partial
from cubicweb.devtools.fake import FakeConfig
@@ -12,7 +12,7 @@
-class AcceptParserTC(TestCase):
+class AcceptParserTC(unittest.TestCase):
def test_parse_accept(self):
parse_accept_header = partial(_parse_accept_header,
@@ -68,7 +68,7 @@
('*', '*', 0.7)])
-class WebRequestTC(TestCase):
+class WebRequestTC(unittest.TestCase):
def test_base_url(self):
dummy_vreg = type('DummyVreg', (object,), {})()
@@ -98,4 +98,4 @@
if __name__ == '__main__':
- unittest_main()
+ unittest.main()