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