mirror of https://github.com/apache/cloudstack.git
pep8: fix recent pep8 violations
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
73f6843840
commit
5ed493c6e6
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue