mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-2359: fix missing network type in the test scripts test_volumes.py and test_templates.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
548a8d8c1f
commit
93db64fc25
@ -44,7 +44,7 @@ class Services:
|
||||
"password": "password",
|
||||
},
|
||||
"name": "testphysicalnetwork",
|
||||
"vlan": "118-120",
|
||||
"vlan": "2118-2120",
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -292,6 +292,7 @@ class TestTemplates(cloudstackTestCase):
|
||||
# Get Zone, Domain and templates
|
||||
cls.domain = get_domain(cls.api_client, cls.services)
|
||||
cls.zone = get_zone(cls.api_client, cls.services)
|
||||
cls.services['mode'] = cls.zone.networktype
|
||||
#populate second zone id for iso copy
|
||||
cmd = listZones.listZonesCmd()
|
||||
zones = cls.api_client.listZones(cmd)
|
||||
|
||||
@ -287,6 +287,7 @@ class TestVolumes(cloudstackTestCase):
|
||||
# Get Zone, Domain and templates
|
||||
cls.domain = get_domain(cls.api_client, cls.services)
|
||||
cls.zone = get_zone(cls.api_client, cls.services)
|
||||
cls.services['mode'] = cls.zone.networktype
|
||||
cls.disk_offering = DiskOffering.create(
|
||||
cls.api_client,
|
||||
cls.services["disk_offering"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user