Fix pep8 issues
This commit fixes a couple of issues from running flake8 for the first time. Mostly minor whitespace fixes, but we'll need this for when we move this repo over into openstack's ci system.
This commit is contained in:
parent
b914b96d4f
commit
f67bff41a1
@ -16,7 +16,6 @@
|
|||||||
import copy
|
import copy
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
@ -106,6 +105,7 @@ def call_subunit_run(test_id, pretty):
|
|||||||
return_code = proc.returncode
|
return_code = proc.returncode
|
||||||
return return_code
|
return return_code
|
||||||
|
|
||||||
|
|
||||||
def call_testtools_run(test_id):
|
def call_testtools_run(test_id):
|
||||||
cmd = ['python', '-m', 'testtools.run', test_id]
|
cmd = ['python', '-m', 'testtools.run', test_id]
|
||||||
env = copy.deepcopy(os.environ)
|
env = copy.deepcopy(os.environ)
|
||||||
@ -114,6 +114,7 @@ def call_testtools_run(test_id):
|
|||||||
return_code = proc.returncode
|
return_code = proc.returncode
|
||||||
return return_code
|
return return_code
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
opts = parse_args()
|
opts = parse_args()
|
||||||
if opts.pretty and opts.subunit:
|
if opts.pretty and opts.subunit:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user