CLOUDSTACK-7025: Resolving test script issue

(cherry picked from commit 33fdfbc834)
This commit is contained in:
Ashutosh K 2014-07-16 21:57:01 -04:00 committed by Daan Hoogland
parent c72f55f9f3
commit 843e604757
1 changed files with 2 additions and 0 deletions

View File

@ -201,6 +201,8 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
domainid=cls.account.domainid, serviceofferingid=cls.service_offering.id,
mode=cls.zone.networktype)
cls.defaultNetworkId = cls.virtual_machine.nic[0].networkid
# Create Shared Network Offering
cls.isolated_network_offering = NetworkOffering.create(cls.api_client, cls.services["isolated_network_offering"])
# Enable Isolated Network offering