Commit 11f02ef3 authored by Romain Courteaud's avatar Romain Courteaud 🐙

slapos_pdm: fixup tests

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