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:
Talluri 2013-05-08 00:57:26 +05:30 committed by Prasanna Santhanam
parent 548a8d8c1f
commit 93db64fc25
3 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class Services:
"password": "password",
},
"name": "testphysicalnetwork",
"vlan": "118-120",
"vlan": "2118-2120",
}

View File

@ -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)

View File

@ -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"]