CLOUDSTACK-8513: Fixed VM deployment issue

Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #313
This commit is contained in:
pritisarap12 2015-05-27 11:52:27 +05:30 committed by Gaurav Aradhye
parent 6ea65370d7
commit 39e2590a7b

View File

@ -394,7 +394,7 @@ class TestVolumeSnapshot(cloudstackTestCase):
)
vm_from_temp = VirtualMachine.create(
self.apiclient,
self.userapiclient,
self.testdata["small"],
templateid=templateFromSnapshot.id,
accountid=self.account.name,
@ -497,7 +497,7 @@ class TestVolumeSnapshot(cloudstackTestCase):
# Step 5
# delete snapshot and deploy vm from snapshot
vm_from_temp_2 = VirtualMachine.create(
self.apiclient,
self.userapiclient,
self.testdata["small"],
templateid=templateFromSnapshot.id,
accountid=self.account.name,
@ -553,7 +553,7 @@ class TestVolumeSnapshot(cloudstackTestCase):
)
vm_from_temp = VirtualMachine.create(
self.apiclient,
self.userapiclient,
self.testdata["small"],
templateid=templateFromSnapshot.id,
accountid=self.account.name,
@ -605,7 +605,7 @@ class TestVolumeSnapshot(cloudstackTestCase):
)
vm_from_temp = VirtualMachine.create(
self.apiclient,
self.userapiclient,
self.testdata["small"],
templateid=templateFromSnapshot.id,
accountid=self.account.name,
@ -683,7 +683,7 @@ class TestVolumeSnapshot(cloudstackTestCase):
)
vm_from_temp_2 = VirtualMachine.create(
self.apiclient,
self.userapiclient,
self.testdata["small"],
templateid=templateFromSnapshot.id,
accountid=self.account.name,