Commit e6002bb5 authored by Rafael Monnerat's avatar Rafael Monnerat

Use requestStopComputerPartition instead, to simulate the user.

parent 4e097035
......@@ -5612,7 +5612,7 @@ class TestVifibSlapWebService(testVifibMixin):
SlapLogout \
\
LoginTestVifibCustomer \
SlaveInstanceStopped \
stepRequestSlaveInstanceStop \
Tic \
Logout \
\
......@@ -5622,7 +5622,7 @@ class TestVifibSlapWebService(testVifibMixin):
SlapLogout \
\
LoginDefaultUser \
SetDeliveryLineAmountEqualThree \
SetDeliveryLineAmountEqualTwo \
CheckComputerPartitionInstanceHostingSalePackingListStarted \
SetDeliveryLineAmountEqualOne \
CheckComputerPartitionInstanceHostingSalePackingListDelivered \
......@@ -6462,6 +6462,11 @@ class TestVifibSlapWebService(testVifibMixin):
uid=sequence["software_instance_uid"])
slave_instance.requestStartComputerPartition()
def stepRequestSlaveInstanceStop(self, sequence):
slave_instance = self.portal.portal_catalog.getResultValue(
uid=sequence["software_instance_uid"])
slave_instance.requestStopComputerPartition()
def stepSlaveInstanceStopped(self, sequence):
slave_instance = self.portal.portal_catalog.getResultValue(
uid=sequence["software_instance_uid"])
......
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