aboutsummaryrefslogtreecommitdiffstats
path: root/test/tutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tutils.py')
-rw-r--r--test/tutils.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/tutils.py b/test/tutils.py
index aeaeb0de..7c7d1db3 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -96,13 +96,13 @@ def treq(content="content", scheme="http", host="address", port=22):
host,
port,
"/path",
- (1,
- 1),
+ (1, 1),
headers,
content,
None,
None,
- None)
+ None,
+ )
return req
@@ -127,14 +127,14 @@ def tresp(content="message"):
headers["header_response"] = ["svalue"]
resp = http.HTTPResponse(
- (1,
- 1),
+ (1, 1),
200,
"OK",
headers,
content,
time(),
- time())
+ time(),
+ )
return resp