Commit 2dfe4ce4 authored by Romain Courteaud's avatar Romain Courteaud

requestSoftwareInstance transition has been removed

parent 97fa056d
...@@ -694,10 +694,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin): ...@@ -694,10 +694,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
uid = sequence['software_instance_uid']) uid = sequence['software_instance_uid'])
from erp5.document.SoftwareInstance import DisconnectedSoftwareTree from erp5.document.SoftwareInstance import DisconnectedSoftwareTree
self.assertRaises(DisconnectedSoftwareTree, self.assertRaises(DisconnectedSoftwareTree,
software_instance.requestSoftwareInstance, software_instance.requestInstance,
software_release=sequence['software_release_uri'], software_release=sequence['software_release_uri'],
software_type=sequence['requested_reference'], software_type=sequence['requested_reference'],
partition_reference=sequence['requested_reference'], software_title=sequence['requested_reference'],
shared=False, shared=False,
instance_xml=self.minimal_correct_xml, instance_xml=self.minimal_correct_xml,
sla_xml=self.minimal_correct_xml, sla_xml=self.minimal_correct_xml,
...@@ -859,10 +859,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin): ...@@ -859,10 +859,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
uid = sequence['software_instance_uid']) uid = sequence['software_instance_uid'])
from erp5.document.SoftwareInstance import CyclicSoftwareTree from erp5.document.SoftwareInstance import CyclicSoftwareTree
self.assertRaises(CyclicSoftwareTree, self.assertRaises(CyclicSoftwareTree,
software_instance.requestSoftwareInstance, software_instance.requestInstance,
software_release=sequence['software_release_uri'], software_release=sequence['software_release_uri'],
software_type=sequence['requested_reference'], software_type=sequence['requested_reference'],
partition_reference=sequence['requested_reference'], software_title=sequence['requested_reference'],
shared=False, shared=False,
instance_xml=self.minimal_correct_xml, instance_xml=self.minimal_correct_xml,
sla_xml=self.minimal_correct_xml, sla_xml=self.minimal_correct_xml,
...@@ -1034,10 +1034,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin): ...@@ -1034,10 +1034,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
software_instance = self.portal.portal_catalog.getResultValue( software_instance = self.portal.portal_catalog.getResultValue(
uid = sequence['software_instance_uid']) uid = sequence['software_instance_uid'])
self.assertRaises(ValueError, self.assertRaises(ValueError,
software_instance.requestSoftwareInstance, software_instance.requestInstance,
software_release=sequence['software_release_uri'], software_release=sequence['software_release_uri'],
software_type=sequence['requested_reference'], software_type=sequence['requested_reference'],
partition_reference=sequence['requested_reference'], software_title=sequence['requested_reference'],
shared=False, shared=False,
instance_xml=self.minimal_correct_xml, instance_xml=self.minimal_correct_xml,
sla_xml=self.minimal_correct_xml, sla_xml=self.minimal_correct_xml,
......
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