Fixing the syntax errors while fixing whitespaces

This commit is contained in:
Chirag Jog 2012-07-09 15:24:18 +05:30
parent 757a087c7f
commit 3fe403ac11
2 changed files with 5 additions and 5 deletions

View File

@ -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):

View File

@ -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