You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2013/06/18 05:06:44 UTC
[19/50] [abbrv] git commit: updated refs/heads/vmsync to e2edae1
Fix the listVPC based on user roles
listVPC based on user roles uses the old account.account reference
causing the test to fail.
Signed-off-by: Prasanna Santhanam <ts...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a5189b15
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a5189b15
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a5189b15
Branch: refs/heads/vmsync
Commit: a5189b1550139c2bcf2a0982ddbedf8effcd13d4
Parents: f4dcca6
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Mon Jun 17 13:36:29 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Mon Jun 17 17:32:05 2013 +0530
----------------------------------------------------------------------
test/integration/component/test_vpc.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a5189b15/test/integration/component/test_vpc.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_vpc.py b/test/integration/component/test_vpc.py
index acf7a8e..0afeb77 100644
--- a/test/integration/component/test_vpc.py
+++ b/test/integration/component/test_vpc.py
@@ -795,16 +795,16 @@ class TestVPC(cloudstackTestCase):
self.services["vpc"],
vpcofferingid=self.vpc_off.id,
zoneid=self.zone.id,
- account=self.user.account.name,
- domainid=self.user.account.domainid
+ account=self.user.name,
+ domainid=self.user.domainid
)
self.validate_vpc_network(vpc_2)
self.debug("Validating list VPCs call by passing account and domain")
vpcs = VPC.list(
self.apiclient,
- account=self.user.account.name,
- domainid=self.user.account.domainid,
+ account=self.user.name,
+ domainid=self.user.domainid,
listall=True
)
self.assertEqual(