test_cookie_removed_on_expire() — requests Function Reference
Architecture documentation for the test_cookie_removed_on_expire() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 351d0832_ae1b_211a_03de_410e6096644d["test_cookie_removed_on_expire()"] 22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"] 351d0832_ae1b_211a_03de_410e6096644d -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14 style 351d0832_ae1b_211a_03de_410e6096644d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 388–396
def test_cookie_removed_on_expire(self, httpbin):
s = requests.session()
s.get(httpbin("cookies/set?foo=bar"))
assert s.cookies["foo"] == "bar"
s.get(
httpbin("response-headers"),
params={"Set-Cookie": "foo=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT"},
)
assert "foo" not in s.cookies
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_cookie_removed_on_expire() do?
test_cookie_removed_on_expire() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_cookie_removed_on_expire() defined?
test_cookie_removed_on_expire() is defined in tests/test_requests.py at line 388.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free