Commit 77bef6e7 authored by Łukasz Nowak's avatar Łukasz Nowak

Reset state.

Previous steps can set state to unexpected value.
parent 508ce51f
...@@ -1507,6 +1507,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): ...@@ -1507,6 +1507,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
create_new_user_instance_sequence_string = '\ create_new_user_instance_sequence_string = '\
LoginWebUser \ LoginWebUser \
ResetSequenceSoftwareInstanceState \
SetSoftwareTitleRandom \ SetSoftwareTitleRandom \
PersonRequestSoftwareInstance \ PersonRequestSoftwareInstance \
Tic \ Tic \
...@@ -1524,6 +1525,9 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): ...@@ -1524,6 +1525,9 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
# Steps # Steps
######################################## ########################################
def stepResetSequenceSoftwareInstanceState(self, sequence, **kw):
sequence['software_instance_state'] = ''
def stepSetSequenceSoftwareInstanceStateStopped(self, sequence, **kw): def stepSetSequenceSoftwareInstanceStateStopped(self, sequence, **kw):
sequence['software_instance_state'] = 'stopped' sequence['software_instance_state'] = 'stopped'
......
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