summaryrefslogtreecommitdiffhomepage
path: root/test/test_asgi_application.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_asgi_application.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_asgi_application.py b/test/test_asgi_application.py
index 34dfe18e..7f5f1578 100644
--- a/test/test_asgi_application.py
+++ b/test/test_asgi_application.py
@@ -277,10 +277,9 @@ custom-header: BLAH
assert self.get()['status'] == 200, 'init'
- (_, sock) = self.http(
+ sock = self.http(
b"""GET / HTTP/1.1
""",
- start=True,
raw=True,
no_recv=True,
)
@@ -358,14 +357,13 @@ Connection: close
socks = []
for i in range(2):
- (_, sock) = self.get(
+ sock = self.get(
headers={
'Host': 'localhost',
'X-Delay': '3',
'Connection': 'close',
},
no_recv=True,
- start=True,
)
socks.append(sock)