test_expires_none() — requests Function Reference
Architecture documentation for the test_expires_none() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD d1ae0ca1_b3f2_b445_678b_41a913868906["test_expires_none()"] 94658b92_5836_b58c_d7f2_88ecf129beb7["TestMorselToCookieExpires"] d1ae0ca1_b3f2_b445_678b_41a913868906 -->|defined in| 94658b92_5836_b58c_d7f2_88ecf129beb7 style d1ae0ca1_b3f2_b445_678b_41a913868906 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 2453–2459
def test_expires_none(self):
"""Test case where expires is None."""
morsel = Morsel()
morsel["expires"] = None
cookie = morsel_to_cookie(morsel)
assert cookie.expires is None
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_expires_none() do?
test_expires_none() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_expires_none() defined?
test_expires_none() is defined in tests/test_requests.py at line 2453.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free