Commit f5a8180c authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: drop template_software_instance

parent fffd6157
...@@ -394,7 +394,9 @@ class TestSlapOSAllocation(SlapOSTestCaseMixin): ...@@ -394,7 +394,9 @@ class TestSlapOSAllocation(SlapOSTestCaseMixin):
text_content=self.generateSafeXml(), text_content=self.generateSafeXml(),
sla_xml=sla_xml, sla_xml=sla_xml,
specialise_value=instance_tree, specialise_value=instance_tree,
follow_up_value=project follow_up_value=project,
ssl_key='foo',
ssl_certificate='bar'
) )
self.portal.portal_workflow._jumpToStateFor(software_instance2, 'start_requested') self.portal.portal_workflow._jumpToStateFor(software_instance2, 'start_requested')
self.portal.portal_workflow._jumpToStateFor(software_instance2, 'validated') self.portal.portal_workflow._jumpToStateFor(software_instance2, 'validated')
...@@ -487,7 +489,9 @@ class TestSlapOSAllocation(SlapOSTestCaseMixin): ...@@ -487,7 +489,9 @@ class TestSlapOSAllocation(SlapOSTestCaseMixin):
text_content=self.generateSafeXml(), text_content=self.generateSafeXml(),
sla_xml=sla_xml, sla_xml=sla_xml,
specialise=instance_tree.getRelativeUrl(), specialise=instance_tree.getRelativeUrl(),
follow_up_value=project follow_up_value=project,
ssl_key='foo',
ssl_certificate='bar'
) )
self.portal.portal_workflow._jumpToStateFor(software_instance2, 'start_requested') self.portal.portal_workflow._jumpToStateFor(software_instance2, 'start_requested')
software_instance2.validate() software_instance2.validate()
...@@ -508,7 +512,9 @@ class TestSlapOSAllocation(SlapOSTestCaseMixin): ...@@ -508,7 +512,9 @@ class TestSlapOSAllocation(SlapOSTestCaseMixin):
text_content=self.generateSafeXml(), text_content=self.generateSafeXml(),
sla_xml=sla_xml, sla_xml=sla_xml,
specialise=instance_tree.getRelativeUrl(), specialise=instance_tree.getRelativeUrl(),
follow_up_value=project follow_up_value=project,
ssl_key='foo',
ssl_certificate='bar'
) )
self.portal.portal_workflow._jumpToStateFor(software_instance3, 'start_requested') self.portal.portal_workflow._jumpToStateFor(software_instance3, 'start_requested')
software_instance3.validate() software_instance3.validate()
...@@ -614,7 +620,9 @@ class TestSlapOSAllocation(SlapOSTestCaseMixin): ...@@ -614,7 +620,9 @@ class TestSlapOSAllocation(SlapOSTestCaseMixin):
text_content=self.generateSafeXml(), text_content=self.generateSafeXml(),
sla_xml=sla_xml, sla_xml=sla_xml,
specialise_value=instance_tree, specialise_value=instance_tree,
follow_up_value=project follow_up_value=project,
ssl_key='foo',
ssl_certificate='bar'
) )
self.portal.portal_workflow._jumpToStateFor(software_instance2, 'start_requested') self.portal.portal_workflow._jumpToStateFor(software_instance2, 'start_requested')
self.portal.portal_workflow._jumpToStateFor(software_instance2, 'validated') self.portal.portal_workflow._jumpToStateFor(software_instance2, 'validated')
......
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