CLOUDSTACK-2362: correct list append method

fix userdata integration test
This commit is contained in:
Talluri 2013-05-08 14:12:46 +05:30 committed by Prasanna Santhanam
parent 8be304434e
commit 731cc439a3

View File

@ -111,6 +111,7 @@ class TestDeployVmWithUserData(cloudstackTestCase):
vm = vms[0]
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.cleanup.append(deployVmResponse)
@attr(tags=["simulator", "devcloud", "basic", "advanced"])
def test_deployvm_userdata(self):
@ -134,6 +135,7 @@ class TestDeployVmWithUserData(cloudstackTestCase):
vm = vms[0]
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.cleanup.append(deployVmResponse)
@classmethod
def tearDownClass(cls):