Commit 2f1482e9 authored by Fabien Morin's avatar Fabien Morin

use getReference, this make test results much more easier to read in case of failure


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27807 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a28a6f6c
...@@ -1757,8 +1757,9 @@ class TestBPMTestCases(TestBPMMixin): ...@@ -1757,8 +1757,9 @@ class TestBPMTestCases(TestBPMMixin):
trade_model_line_list = trade_condition.getTradeModelLineComposedList() trade_model_line_list = trade_condition.getTradeModelLineComposedList()
# XXX: This is only one good possible sorting # XXX: This is only one good possible sorting
self.assertEquals([q.getRelativeUrl() for q in trade_model_line_list], self.assertEquals([q.getReference() for q in trade_model_line_list],
[q.getRelativeUrl() for q in [D, E, B, F, G, C, A]]) [q.getReference() for q in [D, E, B, F, G, C, A]])
def test_getAggregatedAmountList(self): 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