Commit 8fde2d09 authored by Romain Courteaud's avatar Romain Courteaud

slapos_pdm: fixup tests

parent c01802d6
......@@ -24,7 +24,7 @@ from erp5.component.test.SlapOSTestCaseMixin import SlapOSTestCaseMixin
class TestSlapOSPDMSkins(SlapOSTestCaseMixin):
def test_requestUpgrade(self):
software_product, _, type_variation, compute_node, instance_tree = self.bootstrapAllocableInstanceTree()
software_product, _, type_variation, compute_node, _, instance_tree = self.bootstrapAllocableInstanceTree()
new_release_variation = self._makeSoftwareRelease(software_product)
self.addAllocationSupply("for compute node", compute_node, software_product,
......@@ -45,7 +45,7 @@ class TestSlapOSPDMSkins(SlapOSTestCaseMixin):
self.assertEqual('stopped', upgrade_decision.getSimulationState())
def test_requestUpgrade_destroyed_instance_tree(self):
software_product, _, type_variation, compute_node, instance_tree = self.bootstrapAllocableInstanceTree()
software_product, _, type_variation, compute_node, _, instance_tree = self.bootstrapAllocableInstanceTree()
new_release_variation = self._makeSoftwareRelease(software_product)
self.addAllocationSupply("for compute node", compute_node, software_product,
......
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