Commit ab52f256 authored by Aurel's avatar Aurel

typo fix


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31245 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c64e543e
...@@ -1441,7 +1441,7 @@ class TestTradeModelLine(TestTradeModelLineMixin): ...@@ -1441,7 +1441,7 @@ class TestTradeModelLine(TestTradeModelLineMixin):
According to Depth-first search algorithm, result of this graph is: According to Depth-first search algorithm, result of this graph is:
[trade_condition_1, trade_condition_2, trade_condition_3, [trade_condition_1, trade_condition_2, trade_condition_3,
trade_condition_4] trade_condition_4, trade_condition_5]
''' '''
trade_condition_1 = self.createTradeCondition() trade_condition_1 = self.createTradeCondition()
trade_condition_2 = self.createTradeCondition() trade_condition_2 = self.createTradeCondition()
...@@ -1452,12 +1452,12 @@ class TestTradeModelLine(TestTradeModelLineMixin): ...@@ -1452,12 +1452,12 @@ class TestTradeModelLine(TestTradeModelLineMixin):
trade_condition_3)) trade_condition_3))
trade_condition_2.setSpecialiseValue(trade_condition_4) trade_condition_2.setSpecialiseValue(trade_condition_4)
speciliase_value_list = trade_condition_1.findSpecialiseValueList( specialise_value_list = trade_condition_1.findSpecialiseValueList(
context=trade_condition_1) context=trade_condition_1)
self.assertEquals(len(speciliase_value_list), 4) self.assertEquals(len(specialise_value_list), 4)
self.assertEquals( self.assertEquals(
[trade_condition_1, trade_condition_2, trade_condition_3, [trade_condition_1, trade_condition_2, trade_condition_3,
trade_condition_4], speciliase_value_list) trade_condition_4], specialise_value_list)
def test_TradeConditionTradeModelLineReferenceIsShadowingComposition(self): def test_TradeConditionTradeModelLineReferenceIsShadowingComposition(self):
trade_condition_1 = self.createTradeCondition() trade_condition_1 = self.createTradeCondition()
...@@ -1512,7 +1512,7 @@ class TestTradeModelLine(TestTradeModelLineMixin): ...@@ -1512,7 +1512,7 @@ class TestTradeModelLine(TestTradeModelLineMixin):
def test_simpleGetTradeModelLineComposedList(self): def test_simpleGetTradeModelLineComposedList(self):
""" """
Test list of contribution/application relation is well sorted in a simple case Test list of contribution/application relation is well sorted in a simple case
where we create trade model line in a wrong order in comparison to application relation where we create trade model line in a wrong order in comparison to application relations
We have a contribution graph like this A ---> C ---> B so final order must be A, C, B We have a contribution graph like this A ---> C ---> B so final order must be A, C, B
""" """
trade_condition = self.createTradeCondition() trade_condition = self.createTradeCondition()
......
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