test/unittest_schema.py
changeset 10252 3b89cfd010a6
parent 10193 a0a11be5a9cb
child 10529 747eded13c68
--- a/test/unittest_schema.py	Fri Feb 13 14:32:15 2015 +0100
+++ b/test/unittest_schema.py	Fri Feb 13 14:34:35 2015 +0100
@@ -360,8 +360,8 @@
                          schema['produces_and_buys'].rdefs.keys())
         self.assertEqual([('Person','Service')],
                          schema['produces_and_buys2'].rdefs.keys())
-        self.assertEqual([('Company', 'Service'), ('Person', 'Service')],
-                         schema['reproduce'].rdefs.keys())
+        self.assertCountEqual([('Company', 'Service'), ('Person', 'Service')],
+                              schema['reproduce'].rdefs.keys())
         # check relation definitions are marked infered
         rdef = schema['produces_and_buys'].rdefs[('Person','Service')]
         self.assertTrue(rdef.infered)