summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_application.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-10-11 13:49:10 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2022-10-11 13:49:10 +0100
commit8e1e0471914b39da0634a23c4231ce98021a4cf7 (patch)
tree12560d3c455b54bda388c36c04eb61f8540d0680 /test/test_python_application.py
parent8d976cac522d5223fbe4a4360368a351a197ddbf (diff)
downloadunit-8e1e0471914b39da0634a23c4231ce98021a4cf7.tar.gz
unit-8e1e0471914b39da0634a23c4231ce98021a4cf7.tar.bz2
Tests: don't try to return response when "no_recv" is True.
Diffstat (limited to 'test/test_python_application.py')
-rw-r--r--test/test_python_application.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_python_application.py b/test/test_python_application.py
index 2ea9a22e..946d2118 100644
--- a/test/test_python_application.py
+++ b/test/test_python_application.py
@@ -765,14 +765,13 @@ last line: 987654321
socks = []
for i in range(4):
- (_, sock) = self.get(
+ sock = self.get(
headers={
'Host': 'localhost',
'X-Delay': '2',
'Connection': 'close',
},
no_recv=True,
- start=True,
)
socks.append(sock)