diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2022-10-11 13:49:10 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2022-10-11 13:49:10 +0100 |
commit | 8e1e0471914b39da0634a23c4231ce98021a4cf7 (patch) | |
tree | 12560d3c455b54bda388c36c04eb61f8540d0680 /test/test_routing.py | |
parent | 8d976cac522d5223fbe4a4360368a351a197ddbf (diff) | |
download | unit-8e1e0471914b39da0634a23c4231ce98021a4cf7.tar.gz unit-8e1e0471914b39da0634a23c4231ce98021a4cf7.tar.bz2 |
Tests: don't try to return response when "no_recv" is True.
Diffstat (limited to '')
-rw-r--r-- | test/test_routing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_routing.py b/test/test_routing.py index 0d7b908c..9e872061 100644 --- a/test/test_routing.py +++ b/test/test_routing.py @@ -1485,7 +1485,7 @@ class TestRouting(TestApplicationPython): def test_routes_source_port(self): def sock_port(): - _, sock = self.http(b'', start=True, raw=True, no_recv=True) + sock = self.http(b'', raw=True, no_recv=True) port = sock.getsockname()[1] return (sock, port) |