From 291b3ceea59307e976d4dc4bde921995d196a6cd Mon Sep 17 00:00:00 2001 From: Gaurav Aradhye Date: Wed, 30 Jul 2014 18:54:09 +0530 Subject: [PATCH] Fixing missing attribute issue in test_stopped_vm.py --- test/integration/component/test_stopped_vm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/component/test_stopped_vm.py b/test/integration/component/test_stopped_vm.py index 5eec405527b..74c251b59b7 100644 --- a/test/integration/component/test_stopped_vm.py +++ b/test/integration/component/test_stopped_vm.py @@ -528,7 +528,7 @@ class TestDeployVM(cloudstackTestCase): startvm=False, ) - response = self.virtual_machine.getState(self.apiclient, VirtualMachine.STOPPED) + response = self.virtual_machine_1.getState(self.apiclient, VirtualMachine.STOPPED) self.assertEqual(response[0], PASS, response[1]) self.debug("Deploying instance in the account: %s" % @@ -974,7 +974,7 @@ class TestRouterStateAfterDeploy(cloudstackTestCase): startvm=False ) - response = self.virtual_machine.getState(self.apiclient, VirtualMachine.STOPPED) + response = self.virtual_machine_1.getState(self.apiclient, VirtualMachine.STOPPED) self.assertEqual(response[0], PASS, response[1]) self.debug("Checking the router state after VM deployment") routers = Router.list( @@ -1001,7 +1001,7 @@ class TestRouterStateAfterDeploy(cloudstackTestCase): startvm=True ) - response = self.virtual_machine.getState(self.apiclient, VirtualMachine.RUNNING) + response = self.virtual_machine_2.getState(self.apiclient, VirtualMachine.RUNNING) self.assertEqual(response[0], PASS, response[1]) self.debug("Checking the router state after VM deployment") routers = Router.list(