Commit d64fafaf authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: drop template_compute_node

parent 2fa1b4fd
......@@ -299,8 +299,7 @@ class TestSlapOSComputerConsumptionTioXMLFile_solveInvoicingGeneration(
new_id = self.generateNewId()
# Prepare compute_node
self.compute_node = self.portal.compute_node_module.template_compute_node\
.Base_createCloneDocument(batch_mode=1)
self.compute_node = self.createComputeNode()
self.compute_node.edit(
title="Compute Node %s" % new_id,
reference="TESTCOMP-%s" % new_id,
......
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