Skip to content

Commit a5189b1

Browse files
author
Prasanna Santhanam
committed
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>
1 parent f4dcca6 commit a5189b1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/integration/component/test_vpc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -795,16 +795,16 @@ def test_06_list_vpc_apis_admin(self):
795795
self.services["vpc"],
796796
vpcofferingid=self.vpc_off.id,
797797
zoneid=self.zone.id,
798-
account=self.user.account.name,
799-
domainid=self.user.account.domainid
798+
account=self.user.name,
799+
domainid=self.user.domainid
800800
)
801801
self.validate_vpc_network(vpc_2)
802802

803803
self.debug("Validating list VPCs call by passing account and domain")
804804
vpcs = VPC.list(
805805
self.apiclient,
806-
account=self.user.account.name,
807-
domainid=self.user.account.domainid,
806+
account=self.user.name,
807+
domainid=self.user.domainid,
808808
listall=True
809809
)
810810
self.assertEqual(

0 commit comments

Comments
 (0)