pep8: fix recent pep8 violations

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-10-04 14:13:37 +05:30
parent 73f6843840
commit 5ed493c6e6
2 changed files with 15 additions and 11 deletions

View File

@ -73,20 +73,24 @@ if __name__ == "__main__":
n = 0
while(n < iterates):
engine = \
TestCaseExecuteEngine.TestCaseExecuteEngine(deploy.testClient,
deploy.getCfg(),
testCaseLogFile,
testResultLogFile)
TestCaseExecuteEngine.TestCaseExecuteEngine(
deploy.testClient,
deploy.getCfg(
),
testCaseLogFile,
testResultLogFile)
engine.loadTestsFromFile(options.module)
engine.run()
n = n + 1
else:
n = 0
while(n<iterates):
engine = TestCaseExecuteEngine.TestCaseExecuteEngine(deploy.testClient,
deploy.getCfg(),
testCaseLogFile,
testResultLogFile)
while(n < iterates):
engine = TestCaseExecuteEngine.TestCaseExecuteEngine(
deploy.testClient,
deploy.getCfg(
),
testCaseLogFile,
testResultLogFile)
engine.loadTestsFromDir(options.testCaseFolder)
engine.run()
n = n + 1

View File

@ -580,8 +580,8 @@ specify a valid config file" % cfgFile)
def copyAttributesToCommand(self, source, command):
map(lambda attr: setattr(command, attr, getattr(source, attr, None)),
filter(lambda attr: not attr.startswith("__") and
attr not in ["required", "isAsync"], dir(command)))
filter(lambda attr: not attr.startswith("__") and attr not in
["required", "isAsync"], dir(command)))
def configureS3(self, s3):
if s3 is None: