From 3fe403ac11a8041e7c771aad9aaa6af4174986d7 Mon Sep 17 00:00:00 2001 From: Chirag Jog Date: Mon, 9 Jul 2012 15:24:18 +0530 Subject: [PATCH] Fixing the syntax errors while fixing whitespaces --- test/integration/component/test_resource_limits.py | 2 +- test/integration/component/test_stopped_vm.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/integration/component/test_resource_limits.py b/test/integration/component/test_resource_limits.py index 56b46a3820d..2711a474368 100644 --- a/test/integration/component/test_resource_limits.py +++ b/test/integration/component/test_resource_limits.py @@ -1307,7 +1307,7 @@ class TestResources(cloudstackTestCase): # Get Zone, Domain and templates cls.zone = get_zone(cls.api_client, cls.services) cls._cleanup = [] - return + return @classmethod def tearDownClass(cls): diff --git a/test/integration/component/test_stopped_vm.py b/test/integration/component/test_stopped_vm.py index 231f36c96b1..650de0ee999 100644 --- a/test/integration/component/test_stopped_vm.py +++ b/test/integration/component/test_stopped_vm.py @@ -1568,10 +1568,10 @@ class TestDeployVMFromTemplate(cloudstackTestCase): account=self.account.account.name, domainid=self.account.account.domainid ) - try: - self.template.download(self.apiclient) - except Exception as e: - raise Exception("Template download failed: %s" % e) + try: + self.template.download(self.apiclient) + except Exception as e: + raise Exception("Template download failed: %s" % e) self.cleanup = [self.account] return