mirror of https://github.com/apache/cloudstack.git
Marvin Tests: Fix VPC network offering selection
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
99da5338ff
commit
79f0adf397
|
|
@ -64,7 +64,7 @@ class TestNetworkACL(cloudstackTestCase):
|
|||
self.assert_(networkOffering is not None and len(networkOffering) > 0, "No VPC based network offering")
|
||||
|
||||
# 1) Create VPC
|
||||
vpcOffering = VpcOffering.list(self.apiclient,isdefault=True)
|
||||
vpcOffering = VpcOffering.list(self.apiclient, name="Default VPC offering")
|
||||
self.assert_(vpcOffering is not None and len(vpcOffering)>0, "No VPC offerings found")
|
||||
self.services["vpc"] = {}
|
||||
self.services["vpc"]["name"] = "vpc-networkacl"
|
||||
|
|
|
|||
|
|
@ -316,7 +316,7 @@ class TestVpcRemoteAccessVpn(cloudstackTestCase):
|
|||
networkOffering) > 0, "No VPC based network offering")
|
||||
|
||||
# 1) Create VPC
|
||||
vpcOffering = VpcOffering.list(self.apiclient, isdefault=True)
|
||||
vpcOffering = VpcOffering.list(self.apiclient, name="Default VPC offering")
|
||||
self.assert_(vpcOffering is not None and len(
|
||||
vpcOffering) > 0, "No VPC offerings found")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue