Commit 45df9f1f authored by Łukasz Nowak's avatar Łukasz Nowak

Prove that delivery is not divergent just after building.

parent 016a9208
......@@ -106,6 +106,8 @@ class TestSlapOSSalePackingListBuilder(testSlapOSMixin):
self.assertEqual('Sale Packing List', delivery.getPortalType())
self.assertEqual('delivered', delivery.getSimulationState())
self.assertEqual('building', delivery.getCausalityState())
delivery.updateCausalityState(solve_automatically=False)
self.assertEqual('solved', delivery.getCausalityState())
self.assertEqual(simulation_movement.getStartDate(),
delivery.getStartDate())
self.assertEqual(simulation_movement.getStopDate(),
......
108
\ No newline at end of file
109
\ 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