Skip to content

Commit 48f35fc

Browse files
committed
Merge branch 'lixuefeng2-for_format' into develop
Locally merging #880 to fix code style issue (missing whitespace). Note: the PR had an unwanted documentation patch that is excluded from this merge. Signed-off-by: Lukas Puehringer <[email protected]>
2 parents fdc0bc1 + 5f891e8 commit 48f35fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_arbitrary_package_attack.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ def setUpClass(cls):
8383
command = ['python', 'simple_server.py', str(cls.SERVER_PORT)]
8484
cls.server_process = subprocess.Popen(command, stderr=subprocess.PIPE)
8585
logger.info('Server process started.')
86-
logger.info('Server process id: '+str(cls.server_process.pid))
87-
logger.info('Serving on port: '+str(cls.SERVER_PORT))
88-
cls.url = 'http://localhost:'+str(cls.SERVER_PORT) + os.path.sep
86+
logger.info('Server process id: ' + str(cls.server_process.pid))
87+
logger.info('Serving on port: ' + str(cls.SERVER_PORT))
88+
cls.url = 'http://localhost:' + str(cls.SERVER_PORT) + os.path.sep
8989

9090
# NOTE: Following error is raised if a delay is not applied:
9191
# <urlopen error [Errno 111] Connection refused>
@@ -104,7 +104,7 @@ def tearDownClass(cls):
104104

105105
# Kill the SimpleHTTPServer process.
106106
if cls.server_process.returncode is None:
107-
logger.info('Server process '+str(cls.server_process.pid)+' terminated.')
107+
logger.info('Server process ' + str(cls.server_process.pid) + ' terminated.')
108108
cls.server_process.kill()
109109

110110

0 commit comments

Comments
 (0)