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

Use request to destroy instance.

parent c357f3af
No related merge requests found
......@@ -1143,7 +1143,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
prepare_destroy_requested_computer_partition = \
prepare_installed_computer_partition_sequence_string + '\
LoginTestVifibCustomer \
RequestSoftwareInstanceDestroy \
SetSequenceSoftwareInstanceStateDestroyed \
PersonRequestSoftwareInstance \
Tic \
Logout \
\
......@@ -1485,6 +1486,9 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
def stepSetSequenceSoftwareInstanceStateStarted(self, sequence, **kw):
sequence['software_instance_state'] = 'started'
def stepSetSequenceSoftwareInstanceStateDestroyed(self, sequence, **kw):
sequence['software_instance_state'] = 'destroyed'
def stepCheckComputerTradeConditionDestinationSectionListEmpty(self,
sequence, **kw):
computer = self.portal.portal_catalog.getResultValue(
......@@ -4339,7 +4343,8 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
sequence_string = self\
.prepare_installed_computer_partition_sequence_string + '\
LoginTestVifibCustomer \
RequestSoftwareInstanceDestroy \
SetSequenceSoftwareInstanceStateDestroyed \
PersonRequestSoftwareInstance \
Tic \
Logout \
SlapLoginCurrentComputer \
......
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