summaryrefslogtreecommitdiffhomepage
path: root/test/unit/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/http.py')
-rw-r--r--test/unit/http.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/http.py b/test/unit/http.py
index b29667c9..144f300c 100644
--- a/test/unit/http.py
+++ b/test/unit/http.py
@@ -104,6 +104,9 @@ class TestHTTP:
resp = self.recvall(sock, **recvall_kwargs).decode(encoding)
+ else:
+ return sock
+
self.log_in(resp)
if 'raw_resp' not in kwargs: