Tests: don't try to return response when "no_recv" is True.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user