[testlib] Drop override of assertItemsEqual method
The override is not compatible with underlying (standard) method because it
builds sets and rely on eid.
Closes #3641111.
--- 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)