CLOUDSTACK-7555 - Fixed the test_usage script - Template now belongs to the Regular Account to test TEMPLATE.CREATE Event
Signed-off-by: SrikanteswaraRao Talluri <tall...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f3252db7 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f3252db7 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f3252db7 Branch: refs/heads/statscollector-graphite Commit: f3252db797a6d53a1922a60b29cd6b4914de7d51 Parents: 8c8c54f Author: Chandan Purushothama <chandan.purushoth...@citrix.com> Authored: Mon Sep 15 23:15:57 2014 -0700 Committer: SrikanteswaraRao Talluri <tall...@apache.org> Committed: Thu Sep 25 12:04:16 2014 +0530 ---------------------------------------------------------------------- test/integration/component/test_usage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f3252db7/test/integration/component/test_usage.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_usage.py b/test/integration/component/test_usage.py index e99bb81..81cce48 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