test_request_cookies_not_persisted() — requests Function Reference
Architecture documentation for the test_request_cookies_not_persisted() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 24c01dcd_f25d_320e_258a_46d6359db7eb["test_request_cookies_not_persisted()"] 22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"] 24c01dcd_f25d_320e_258a_46d6359db7eb -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14 style 24c01dcd_f25d_320e_258a_46d6359db7eb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 417–421
def test_request_cookies_not_persisted(self, httpbin):
s = requests.session()
s.get(httpbin("cookies"), cookies={"foo": "baz"})
# Sending a request with cookies should not add cookies to the session
assert not s.cookies
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_request_cookies_not_persisted() do?
test_request_cookies_not_persisted() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_request_cookies_not_persisted() defined?
test_request_cookies_not_persisted() is defined in tests/test_requests.py at line 417.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free