[test] fix unittest_devctl on python3.4
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 19 Feb 2016 12:35:22 +0100
changeset 11137 447a6f1e8def
parent 11136 b14885133f90
child 11138 78c8e64f3cef
[test] fix unittest_devctl on python3.4
cubicweb/devtools/test/unittest_devctl.py
--- a/cubicweb/devtools/test/unittest_devctl.py	Thu Jan 21 09:24:04 2016 +0100
+++ b/cubicweb/devtools/test/unittest_devctl.py	Fri Feb 19 12:35:22 2016 +0100
@@ -29,6 +29,9 @@
 class CubicWebCtlTC(TestCase):
     """test case for devtools commands"""
 
+    if not hasattr(TestCase, 'assertItemsEqual'):
+        assertItemsEqual = TestCase.assertCountEqual
+
     def test_newcube(self):
         expected = ['i18n', 'hooks.py', 'setup.py', 'views.py', 'test',
                     'migration', 'entities.py', 'MANIFEST.in', 'schema.py',