mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-17 11:04:00 +01:00
CLOUDSTACK-2362: correct list append method
fix userdata integration test
This commit is contained in:
parent
8be304434e
commit
731cc439a3
@ -111,6 +111,7 @@ class TestDeployVmWithUserData(cloudstackTestCase):
|
|||||||
vm = vms[0]
|
vm = vms[0]
|
||||||
self.assert_(vm.id == str(deployVmResponse.id), "Vm deployed is different from the test")
|
self.assert_(vm.id == str(deployVmResponse.id), "Vm deployed is different from the test")
|
||||||
self.assert_(vm.state == "Running", "VM is not in Running state")
|
self.assert_(vm.state == "Running", "VM is not in Running state")
|
||||||
|
self.cleanup.append(deployVmResponse)
|
||||||
|
|
||||||
@attr(tags=["simulator", "devcloud", "basic", "advanced"])
|
@attr(tags=["simulator", "devcloud", "basic", "advanced"])
|
||||||
def test_deployvm_userdata(self):
|
def test_deployvm_userdata(self):
|
||||||
@ -134,6 +135,7 @@ class TestDeployVmWithUserData(cloudstackTestCase):
|
|||||||
vm = vms[0]
|
vm = vms[0]
|
||||||
self.assert_(vm.id == str(deployVmResponse.id), "Vm deployed is different from the test")
|
self.assert_(vm.id == str(deployVmResponse.id), "Vm deployed is different from the test")
|
||||||
self.assert_(vm.state == "Running", "VM is not in Running state")
|
self.assert_(vm.state == "Running", "VM is not in Running state")
|
||||||
|
self.cleanup.append(deployVmResponse)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user