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

Initialise causality state on manually created PPLs.

parent 61662f0c
......@@ -587,6 +587,7 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
Tic \
SetPurchasePackingListLineSetupResource \
SetPurchasePackingListLineAggregate \
StartBuildingPurchasePackingList \
ConfirmPurchasePackingList \
Tic \
Logout \
......
......@@ -1044,6 +1044,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
SetPurchasePackingListLineSetupResource
SetPurchasePackingListLineAggregate
ConfirmPurchasePackingList
StartBuildingPurchasePackingList
Tic
CheckConfirmedPurchasePackingList
Logout
......@@ -1058,6 +1059,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
SetPurchasePackingListLineCleanupResource
SetPurchasePackingListLineAggregate
ConfirmPurchasePackingList
StartBuildingPurchasePackingList
Tic
CheckConfirmedPurchasePackingList
Logout
......@@ -1087,6 +1089,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
SetPurchasePackingListLineAccountingResource
SetPurchasePackingListLineAggregate
StartBuildingPurchasePackingList
ConfirmPurchasePackingList
Tic
Logout
......@@ -1363,6 +1366,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
SetPurchasePackingListLineSetupResource
SetPurchasePackingListLineAggregate
StartBuildingPurchasePackingList
ConfirmPurchasePackingList
StopPurchasePackingList
Tic
......@@ -2497,6 +2501,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
self.assertTrue(isinstance(computer.getSoftwareReleaseList()[0],
slap.SoftwareRelease))
def stepStartBuildingPurchasePackingList(self, sequence, **kw):
delivery = self.portal.portal_catalog.getResultValue(
uid=sequence['purchase_packing_list_uid'])
delivery.startBuilding()
def stepCreatePurchasePackingList(self, sequence, **kw):
"""
Create an purchase packing list document.
......
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