Commit d9fa3351 authored by Jérome Perrin's avatar Jérome Perrin

testAccounting: fix a random failure

parent 4f7d5731
......@@ -2243,8 +2243,8 @@ class TestClosingPeriod(AccountingTestCase):
section_uid=self.section.getUid(),
node_uid=node_uid)
self.assertEquals(2, len(movement_history_list))
self.assertEquals([-50, -100], [x.total_quantity for x in \
movement_history_list])
self.assertEquals(sorted([-50, -100]),
sorted([x.total_quantity for x in movement_history_list]))
def test_BalanceTransactionDateInInventoryAPI(self):
......
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