From 89736d011e66f193ace97427aea675e2333ac94d Mon Sep 17 00:00:00 2001 From: Chandan Purushothama Date: Mon, 15 Sep 2014 23:15:57 -0700 Subject: [PATCH] CLOUDSTACK-7555 - Fixed the test_usage script - Template now belongs to the Regular Account to test TEMPLATE.CREATE Event Signed-off-by: SrikanteswaraRao Talluri (cherry picked from commit f3252db797a6d53a1922a60b29cd6b4914de7d51) --- test/integration/component/test_usage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/component/test_usage.py b/test/integration/component/test_usage.py index e99bb816c29..81cce48c062 100644 --- a/test/integration/component/test_usage.py +++ b/test/integration/component/test_usage.py @@ -744,7 +744,9 @@ class TestTemplateUsage(cloudstackTestCase): self.template = Template.create( self.apiclient, self.services["templates"], - self.volume.id + self.volume.id, + TestTemplateUsage.account.name, + TestTemplateUsage.account.domainid ) self.debug("Created template with ID: %s" % self.template.id) # Delete template