test_requests_after_timeout_are_not_received() — requests Function Reference
Architecture documentation for the test_requests_after_timeout_are_not_received() function in test_testserver.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD e616c078_b7ed_6a00_18b4_cb75d00ac7b9["test_requests_after_timeout_are_not_received()"] ba85c801_ef4e_5a92_0e3d_07f791306eaf["TestTestServer"] e616c078_b7ed_6a00_18b4_cb75d00ac7b9 -->|defined in| ba85c801_ef4e_5a92_0e3d_07f791306eaf 77b5091f_26f5_443a_fd8b_425cdd5ca984["basic_response_server()"] e616c078_b7ed_6a00_18b4_cb75d00ac7b9 -->|calls| 77b5091f_26f5_443a_fd8b_425cdd5ca984 style e616c078_b7ed_6a00_18b4_cb75d00ac7b9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_testserver.py lines 117–128
def test_requests_after_timeout_are_not_received(self):
"""the basic response handler times out when receiving requests"""
server = Server.basic_response_server(request_timeout=1)
with server as address:
sock = socket.socket()
sock.connect(address)
time.sleep(1.5)
sock.sendall(b"hehehe, not received")
sock.close()
assert server.handler_results[0] == b""
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_requests_after_timeout_are_not_received() do?
test_requests_after_timeout_are_not_received() is a function in the requests codebase, defined in tests/test_testserver.py.
Where is test_requests_after_timeout_are_not_received() defined?
test_requests_after_timeout_are_not_received() is defined in tests/test_testserver.py at line 117.
What does test_requests_after_timeout_are_not_received() call?
test_requests_after_timeout_are_not_received() calls 1 function(s): basic_response_server.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free