Commit 72281e39 authored by Łukasz Nowak's avatar Łukasz Nowak

- follow change in algorithm - result with such order is good too


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27841 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8cbbbd3f
......@@ -1722,6 +1722,8 @@ class TestBPMTestCases(TestBPMMixin):
* (DE) B (FG) C A
or
* (FG) C (DE) B A
or
* (DEFG) (BC) A
where everything in parenthesis can be not sorted
"""
trade_condition = self.createTradeCondition()
......@@ -1757,7 +1759,7 @@ class TestBPMTestCases(TestBPMMixin):
# XXX: This is only one good possible sorting
self.assertEquals([q.getReference() for q in trade_model_line_list],
[q.getReference() for q in [D, E, B, F, G, C, A]])
[q.getReference() for q in [G, F, E, D, C, B, A]])
def test_getAggregatedAmountList(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