Commit 001cadc7 authored by Romain Courteaud's avatar Romain Courteaud

slapos_rss_style:

* drop template_software_installation
* drop template_instance_tree
* drop template_member
parent e3940de6
...@@ -54,11 +54,11 @@ class TestRSSSyleSkinsMixin(SlapOSTestCaseMixinWithAbort): ...@@ -54,11 +54,11 @@ class TestRSSSyleSkinsMixin(SlapOSTestCaseMixinWithAbort):
return assignment return assignment
def _makeInstanceTree(self): def _makeInstanceTree(self):
person = self.portal.person_module.template_member\ person = self.portal.person_module\
.Base_createCloneDocument(batch_mode=1) .newContent(portal_type="Person")
instance_tree = self.portal\ instance_tree = self.portal\
.instance_tree_module.template_instance_tree\ .instance_tree_module\
.Base_createCloneDocument(batch_mode=1) .newContent(portal_type="Instance Tree")
instance_tree.validate() instance_tree.validate()
new_id = self.generateNewId() new_id = self.generateNewId()
instance_tree.edit( instance_tree.edit(
...@@ -86,8 +86,7 @@ class TestRSSSyleSkinsMixin(SlapOSTestCaseMixinWithAbort): ...@@ -86,8 +86,7 @@ class TestRSSSyleSkinsMixin(SlapOSTestCaseMixinWithAbort):
def _makeSoftwareInstallation(self): def _makeSoftwareInstallation(self):
self._makeComputeNode() self._makeComputeNode()
software_installation = self.portal\ software_installation = self.portal\
.software_installation_module.template_software_installation\ .software_installation_module.newContent(portal_type="Software Installation")
.Base_createCloneDocument(batch_mode=1)
software_installation.edit( software_installation.edit(
url_string=self.generateNewSoftwareReleaseUrl(), url_string=self.generateNewSoftwareReleaseUrl(),
aggregate=self.compute_node.getRelativeUrl(), aggregate=self.compute_node.getRelativeUrl(),
......
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