Repository: cloudstack Updated Branches: refs/heads/master 0b6996bef -> 291b3ceea
Fixing missing attribute issue in test_stopped_vm.py Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/291b3cee Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/291b3cee Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/291b3cee Branch: refs/heads/master Commit: 291b3ceea59307e976d4dc4bde921995d196a6cd Parents: 0b6996b Author: Gaurav Aradhye <[email protected]> Authored: Wed Jul 30 18:54:09 2014 +0530 Committer: Girish Shilamkar <[email protected]> Committed: Wed Jul 30 21:36:14 2014 +0530 ---------------------------------------------------------------------- test/integration/component/test_stopped_vm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/291b3cee/test/integration/component/test_stopped_vm.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_stopped_vm.py b/test/integration/component/test_stopped_vm.py index 5eec405..74c251b 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(
