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

Use request to destroy instance.

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