Tests: pathlib used where appropriate
Also fixed various pylint errors and style issues.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
def application(env, start_response):
|
||||
length = env.get('HTTP_X_LENGTH', '10')
|
||||
bytes = b'X' * int(length)
|
||||
body = b'X' * int(length)
|
||||
|
||||
start_response('200', [('Content-Length', length)])
|
||||
return [bytes]
|
||||
return [body]
|
||||
|
||||
Reference in New Issue
Block a user