diff --git a/test/integration/component/test_escalations_templates.py b/test/integration/component/test_escalations_templates.py index 78028bc2f10..3dc24c1e7ba 100644 --- a/test/integration/component/test_escalations_templates.py +++ b/test/integration/component/test_escalations_templates.py @@ -839,9 +839,8 @@ class TestTemplates(cloudstackTestCase): count = count + 1 # Copying the Template from Zone1 to Zone2 - copied_template = Template.copy( + copied_template = template_created.copy( self.userapiclient, - template_created.id, sourcezoneid=template_created.zoneid, destzoneid=zones_list[1].id ) diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py index 77faeeb233f..cedb95bb3dd 100755 --- a/tools/marvin/marvin/lib/base.py +++ b/tools/marvin/marvin/lib/base.py @@ -1257,17 +1257,6 @@ class Template: [setattr(cmd, k, v) for k, v in kwargs.items()] return(apiclient.updateTemplate(cmd)) - @classmethod - def copy(cls, apiclient, id, sourcezoneid, destzoneid): - "Copy Template from source Zone to Destination Zone" - - cmd = copyTemplate.copyTemplateCmd() - cmd.id = id - cmd.sourcezoneid = sourcezoneid - cmd.destzoneid = destzoneid - - return apiclient.copyTemplate(cmd) - def copy(self, apiclient, sourcezoneid, destzoneid): "Copy Template from source Zone to Destination Zone"