Commit e48d160b authored by Sebastien Robin's avatar Sebastien Robin

this test was failing randomly, test the list in another way

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14462 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f0afc116
...@@ -359,8 +359,8 @@ class TestERP5BankingMonetaryReception(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -359,8 +359,8 @@ class TestERP5BankingMonetaryReception(TestERP5BankingMixin, ERP5TypeTestCase):
self.assertEqual(len(container_list), 2) self.assertEqual(len(container_list), 2)
# check we have cash container 1 # check we have cash container 1
container_object_list = [x.getObject() for x in container_list] container_object_list = [x.getObject() for x in container_list]
self.assertEqual(container_object_list[0], self.container_1) self.failIfDifferentSet([self.container_1, self.container_2],
self.assertEqual(container_object_list[1], self.container_2) container_object_list)
self.assertEqual(len(self.simulation_tool.getFutureTrackingList(node=self.reception.getRelativeUrl())), 2) self.assertEqual(len(self.simulation_tool.getFutureTrackingList(node=self.reception.getRelativeUrl())), 2)
################################## ##################################
......
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