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

Move the sequence to the end.

parent 6469bbc2
......@@ -420,6 +420,7 @@ class TestSlapOSDefaultScenario(TestSlapOSSecurityMixin):
self.assertEqual('delivered', delivery.getSimulationState())
causality_state = delivery.getCausalityState()
self.assertEqual('solved', causality_state)
self.assertEqual(0, len(delivery.checkConsistency()))
def assertOpenSaleOrderCoverage(self, person_reference):
self.login()
......@@ -601,6 +602,20 @@ class TestSlapOSDefaultScenario(TestSlapOSSecurityMixin):
self.stepCallSlaposManageBuildingCalculatingDeliveryAlarm()
self.tic()
# deliver the invoices and solve them again
self.stepCallSlaposDeliverConfirmedSaleInvoiceTransactionAlarm()
self.tic()
self.stepCallSlaposManageBuildingCalculatingDeliveryAlarm()
self.tic()
# build the delivered payment
self.stepCallSlaposTriggerBuildAlarm()
self.tic()
# stabilise the payment deliveries and expand them
self.stepCallSlaposManageBuildingCalculatingDeliveryAlarm()
self.tic()
# check final simulation state
for person_reference in (owner_reference, friend_reference,
public_reference):
......
97
\ No newline at end of file
98
\ 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