Commit 1bbc4001 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use failIfDifferentSet instead of assertEquals when comparing the keys of an...

Use failIfDifferentSet instead of assertEquals when comparing the keys of an original one and a copied one, as the orders of keys do not matter for this test.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33784 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fb96645f
......@@ -234,7 +234,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
copy_obj = getattr(copy_bt, item_name)
self.failIf(original_obj is None)
self.failIf(copy_obj is None)
self.assertEquals(original_obj.getKeys(), copy_obj.getKeys())
self.failIfDifferentSet(original_obj.getKeys(), copy_obj.getKeys())
def stepUseExportBusinessTemplate(self, sequence=None,
sequence_list=None, **kw):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment