Commit 9e86d070 authored by Romain Courteaud's avatar Romain Courteaud

slapos_pdm: drop template_instance_tree

parent 1f5c29fa
......@@ -14,8 +14,8 @@ class TestSlapOSUpgradeDecisionProcess(SlapOSTestCaseMixin):
def _makeInstanceTree(self, slap_state="start_requested"):
instance_tree = self.portal\
.instance_tree_module.template_instance_tree\
.Base_createCloneDocument(batch_mode=1)
.instance_tree_module\
.newContent(portal_type="Instance Tree")
instance_tree.validate()
new_id = self.generateNewId()
instance_tree.edit(
......
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