[test] Use bare unittest in unittest_rtags
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Nov 2016 16:08:23 +0100
changeset 11887 42461734c3e8
parent 11886 c5c041ba35b8
child 11888 0849a5eb57b8
[test] Use bare unittest in unittest_rtags
cubicweb/test/unittest_rtags.py
--- a/cubicweb/test/unittest_rtags.py	Wed Nov 09 16:07:10 2016 +0100
+++ b/cubicweb/test/unittest_rtags.py	Wed Nov 09 16:08:23 2016 +0100
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2016 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -15,13 +15,12 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""
 
-"""
-from logilab.common.testlib import TestCase, unittest_main
+import unittest
+
 from cubicweb.rtags import RelationTags, RelationTagsSet, RelationTagsDict
 
-class RelationTagsTC(TestCase):
+class RelationTagsTC(unittest.TestCase):
 
     def test_rtags_expansion(self):
         rtags = RelationTags()
@@ -92,4 +91,4 @@
                           {'key1': 'val1', 'key2': 'val2', 'key3': 'val0', 'key4': 'val4'})
 
 if __name__ == '__main__':
-    unittest_main()
+    unittest.main()