test_cannot_send_unprepared_requests() — requests Function Reference
Architecture documentation for the test_cannot_send_unprepared_requests() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 7ce794db_5c68_718e_2469_8267e19f2109["test_cannot_send_unprepared_requests()"] 22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"] 7ce794db_5c68_718e_2469_8267e19f2109 -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14 772251a3_91b5_d6a8_857f_bb938ed045f7["send()"] 7ce794db_5c68_718e_2469_8267e19f2109 -->|calls| 772251a3_91b5_d6a8_857f_bb938ed045f7 style 7ce794db_5c68_718e_2469_8267e19f2109 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 1570–1573
def test_cannot_send_unprepared_requests(self, httpbin):
r = requests.Request(url=httpbin())
with pytest.raises(ValueError):
requests.Session().send(r)
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_cannot_send_unprepared_requests() do?
test_cannot_send_unprepared_requests() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_cannot_send_unprepared_requests() defined?
test_cannot_send_unprepared_requests() is defined in tests/test_requests.py at line 1570.
What does test_cannot_send_unprepared_requests() call?
test_cannot_send_unprepared_requests() calls 1 function(s): send.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free