mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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 <tsp@apache.org>
This commit is contained in:
parent
f4dcca6e47
commit
a5189b1550
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user