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

Assert that deliveries are split.

parent b4ee875a
...@@ -104,6 +104,9 @@ class TestSlapOSSalePackingListBuilder(testSlapOSMixin): ...@@ -104,6 +104,9 @@ class TestSlapOSSalePackingListBuilder(testSlapOSMixin):
delivery_1 = delivery_line_1.getParentValue() delivery_1 = delivery_line_1.getParentValue()
delivery_2 = delivery_line_2.getParentValue() delivery_2 = delivery_line_2.getParentValue()
self.assertNotEqual(delivery_1.getRelativeUrl(),
delivery_2.getRelativeUrl())
def checkDelivery(simulation_movement, delivery): def checkDelivery(simulation_movement, delivery):
self.assertEqual('Sale Packing List', delivery.getPortalType()) self.assertEqual('Sale Packing List', delivery.getPortalType())
self.assertEqual('delivered', delivery.getSimulationState()) self.assertEqual('delivered', delivery.getSimulationState())
......
111 112
\ No newline at end of file \ 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