Skip to content

Commit 2be96cf

Browse files
author
Prasanna Santhanam
committed
Fix pep8 that broken marvin build 10 days ago :(
Signed-off-by: Prasanna Santhanam <tsp@apache.org> (cherry picked from commit 1f95493dfef7762625530f59c4b4de2b6c2165f0)
1 parent f350e34 commit 2be96cf

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎tools/marvin/marvin/cloudstackTestCase.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import unittest
1919

20+
2021
def user(Name, DomainName, AcctType):
2122
def wrapper(cls):
2223
orig_init = cls.__init__

‎tools/marvin/marvin/cloudstackTestClient.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,4 @@ def submitJobs(self, jobs, nums_threads=10, interval=1):
198198
if self.asyncJobMgr is None:
199199
self.asyncJobMgr = asyncJobMgr.asyncJobMgr(self.apiClient,
200200
self.dbConnection)
201-
self.asyncJobMgr.submitJobs(jobs, nums_threads, interval)
201+
self.asyncJobMgr.submitJobs(jobs, nums_threads, interval)

‎tools/marvin/marvin/codegenerator.py‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,15 @@ def finalize(self):
196196
body += 'return CloudStackAPIClient(copy.copy(self.connection))\n'
197197
body += self.newline
198198

199-
# The `id` property will be used to link the test with the cloud resource being created #
200-
# @property
201-
# def id(self):
202-
# return self._id
203-
#
204-
# @id.setter
205-
# def id(self, identifier):
206-
# self._id = identifier
207-
199+
# The `id` property will be used to link the test with the cloud
200+
# resource being created
201+
# @property
202+
# def id(self):
203+
# return self._id
204+
#
205+
# @id.setter
206+
# def id(self, identifier):
207+
# self._id = identifier
208208

209209
body += self.space + '@property' + self.newline
210210
body += self.space + 'def id(self):' + self.newline

‎tools/marvin/marvin/deployDataCenter.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ def createSecondaryStorages(self, secondaryStorages, zoneId):
159159
secondarycmd.provider = secondary.provider
160160
secondarycmd.details = []
161161

162-
if secondarycmd.provider == 'S3' or secondarycmd.provider == "Swift":
162+
if secondarycmd.provider == 'S3' \
163+
or secondarycmd.provider == "Swift":
163164
for key, value in vars(secondary.details).iteritems():
164165
secondarycmd.details.append({
165166
'key': key,

‎tools/marvin/marvin/marvinPlugin.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@ def beforeTest(self, test):
137137
def _injectClients(self, test):
138138
testcaselogger = logging.getLogger("testclient.testcase.%s" %
139139
test.__name__)
140-
141-
142140
self.debug_stream. \
143141
setFormatter(logging.
144142
Formatter("%(asctime)s - %(levelname)s - %(name)s" +

0 commit comments

Comments
 (0)