Commit 74db7380 authored by Romain Courteaud's avatar Romain Courteaud

requestSoftwareInstance has been removed

parent 75ea2ec7
...@@ -21,8 +21,9 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin): ...@@ -21,8 +21,9 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
common_kw = dict( common_kw = dict(
software_release=sequence['software_release_uri'], software_release=sequence['software_release_uri'],
software_type='any', instance_xml=self.minimal_correct_xml, software_type='any', instance_xml=self.minimal_correct_xml,
shared=False,
sla_xml=self.minimal_correct_xml, state='stopped') sla_xml=self.minimal_correct_xml, state='stopped')
root_software_instance.requestSoftwareInstance(partition_reference=S1, root_software_instance.requestInstance(software_title=S1,
**common_kw) **common_kw)
self.stepTic() self.stepTic()
self.stepCallConfirmOrderedSaleOrderAlarm() self.stepCallConfirmOrderedSaleOrderAlarm()
...@@ -30,13 +31,13 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin): ...@@ -30,13 +31,13 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
S1_instance = self.portal.portal_catalog.getResultValue( S1_instance = self.portal.portal_catalog.getResultValue(
portal_type='Software Instance', title=S1) portal_type='Software Instance', title=S1)
S1_instance.requestSoftwareInstance(partition_reference=S2, **common_kw) S1_instance.requestInstance(software_title=S2, **common_kw)
self.stepTic() self.stepTic()
S1_instance.requestSoftwareInstance(partition_reference=S3, **common_kw) S1_instance.requestInstance(software_title=S3, **common_kw)
self.stepCallConfirmOrderedSaleOrderAlarm() self.stepCallConfirmOrderedSaleOrderAlarm()
self.stepTic() self.stepTic()
root_software_instance.requestSoftwareInstance(partition_reference=S4, root_software_instance.requestInstance(software_title=S4,
**common_kw) **common_kw)
self.stepTic() self.stepTic()
self.stepCallConfirmOrderedSaleOrderAlarm() self.stepCallConfirmOrderedSaleOrderAlarm()
...@@ -379,11 +380,12 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin): ...@@ -379,11 +380,12 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
common_kw = dict( common_kw = dict(
software_release=sequence['software_release_uri'], software_release=sequence['software_release_uri'],
software_type='any', instance_xml=self.minimal_correct_xml, software_type='any', instance_xml=self.minimal_correct_xml,
slave=False,
state='stopped') state='stopped')
self.logout() self.logout()
self.login(sequence['software_instance_reference']) self.login(sequence['software_instance_reference'])
root_software_instance.requestSoftwareInstance( root_software_instance.requestInstance(
partition_reference=S1, software_title=S1,
sla_xml="""<?xml version='1.0' encoding='utf-8'?> sla_xml="""<?xml version='1.0' encoding='utf-8'?>
<instance> <instance>
<parameter id="computer_guid">%s</parameter> <parameter id="computer_guid">%s</parameter>
...@@ -400,8 +402,8 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin): ...@@ -400,8 +402,8 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
S1_reference = S1_instance.getReference() S1_reference = S1_instance.getReference()
self.logout() self.logout()
self.login(S1_reference) self.login(S1_reference)
S1_instance.requestSoftwareInstance( S1_instance.requestInstance(
partition_reference=S2, software_title=S2,
sla_xml="""<?xml version='1.0' encoding='utf-8'?> sla_xml="""<?xml version='1.0' encoding='utf-8'?>
<instance> <instance>
<parameter id="computer_guid">%s</parameter> <parameter id="computer_guid">%s</parameter>
...@@ -419,8 +421,8 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin): ...@@ -419,8 +421,8 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
self.logout() self.logout()
self.login(S2_reference) self.login(S2_reference)
S2_instance.requestSoftwareInstance( S2_instance.requestInstance(
partition_reference=S3, software_title=S3,
sla_xml="""<?xml version='1.0' encoding='utf-8'?> sla_xml="""<?xml version='1.0' encoding='utf-8'?>
<instance> <instance>
<parameter id="computer_guid">%s</parameter> <parameter id="computer_guid">%s</parameter>
...@@ -653,12 +655,13 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin): ...@@ -653,12 +655,13 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
common_kw = dict( common_kw = dict(
software_release=sequence['software_release_uri'], software_release=sequence['software_release_uri'],
software_type='any', instance_xml=self.minimal_correct_xml, software_type='any', instance_xml=self.minimal_correct_xml,
slave=False,
sla_xml=self.minimal_correct_xml, state='stopped') sla_xml=self.minimal_correct_xml, state='stopped')
self.logout() self.logout()
self.login(sequence['software_instance_reference']) self.login(sequence['software_instance_reference'])
root_software_instance.requestSoftwareInstance( root_software_instance.requestInstance(
partition_reference=S1, software_title=S1,
**common_kw) **common_kw)
self.stepTic() self.stepTic()
self.stepCallConfirmOrderedSaleOrderAlarm() self.stepCallConfirmOrderedSaleOrderAlarm()
......
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