Commit 3a306036 authored by Łukasz Nowak's avatar Łukasz Nowak

Fixup ad22fdcc

parent 6ccd3b55
...@@ -598,16 +598,16 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): ...@@ -598,16 +598,16 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
kw['software_type'] = sequence.get('requested_software_type', kw['software_type'] = sequence.get('requested_software_type',
'requested_software_type') 'requested_software_type')
if 'state' not in kw: if 'state' not in kw:
kw['state'] = sequence.get('software_instance_state') kw['state'] = sequence.get('software_instance_state', 'started')
person.requestSoftwareInstance( person.requestSoftwareInstance(
software_release=software_release.getUrlString(), software_release=software_release.getUrlString(),
software_title=software_title, software_title=software_title,
software_type="RootSoftwareInstance", software_type=kw['software_type'],
instance_xml=self.minimal_correct_xml, instance_xml=self.minimal_correct_xml,
sla_xml=sequence.get('sla_xml'), sla_xml=sequence.get('sla_xml'),
shared=False, shared=kw.get('shared', False),
state="started") state=kw['state'])
transaction.commit() transaction.commit()
self.tic() self.tic()
# Note: This is tricky part. Workflow methods does not return nothing # Note: This is tricky part. Workflow methods does not return nothing
......
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