Commit 0fe8886c authored by Łukasz Nowak's avatar Łukasz Nowak

Solve automatically.

This will be no-op in case of divergence testers which are not automatic, and
is required again as invoice and transaction lines are merged.
parent 83eaedd6
......@@ -58,7 +58,7 @@ portal_activities = context.getPortalObject().portal_activities\n
if portal_activities.countMessage(path=path) == 0 \\\n
and portal_activities.countMessageWithTag(\'%s_solve\' % path) == 0:\n
delivery.serialize()\n
delivery.updateCausalityState(solve_automatically=False)\n
delivery.updateCausalityState(solve_automatically=True)\n
delivery.updateSimulation(expand_root=1, expand_related=1)\n
</string> </value>
</item>
......
......@@ -1397,7 +1397,7 @@ class TestSlapOSManageBuildingCalculatingDeliveryAlarm(testSlapOSMixin):
self.assertEqual([{
'recmethod': 'updateCausalityState',
'recargs': (),
'reckwargs': {'solve_automatically': False}}],
'reckwargs': {'solve_automatically': True}}],
updateCausalityState_value
)
self.assertEqual([{
......
164
\ No newline at end of file
165
\ 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