Commit e478ad28 authored by Łukasz Nowak's avatar Łukasz Nowak

Avoid _updateSimulation usage.

There are some tricks around transaction which lead to decision to defer the
expand. Instead of complexing test code and add this tricks it is easier to
use public updateSimulation.
parent ce453497
......@@ -800,7 +800,8 @@ class TestDefaultDeliveryRule(testSlapOSMixin):
quantity=4.56
)
delivery.confirm()
delivery._updateSimulation(create_root=1)
delivery.updateSimulation(create_root=1)
self.tic()
applied_rule_list = delivery.getCausalityRelatedValueList()
self.assertEqual(1, len(applied_rule_list))
......
103
\ No newline at end of file
104
\ No newline at end of file
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