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