devtools/testlib.py
branchstable
changeset 9594 e549ef4be945
parent 9440 6880674c1a26
child 9635 aaf099172bb9
--- a/devtools/testlib.py	Thu Mar 13 17:32:40 2014 +0100
+++ b/devtools/testlib.py	Wed Mar 12 08:56:31 2014 +0100
@@ -537,11 +537,6 @@
         entity.cw_attr_cache.pop('modification_date', None)
         self.assertTrue(entity.modification_date > olddate)
 
-    def assertItemsEqual(self, it1, it2, *args, **kwargs):
-        it1 = set(getattr(x, 'eid', x) for x in it1)
-        it2 = set(getattr(x, 'eid', x) for x in it2)
-        super(CubicWebTC, self).assertItemsEqual(it1, it2, *args, **kwargs)
-
     def assertMessageEqual(self, req, params, expected_msg):
         msg = req.session.data[params['_cwmsgid']]
         self.assertEqual(expected_msg, msg)