MCPcopy
hub / github.com/psf/requests / test_expires_none

Method test_expires_none

tests/test_requests.py:2481–2487  ·  view source on GitHub ↗

Test case where expires is None.

(self)

Source from the content-addressed store, hash-verified

2479 morsel_to_cookie(morsel)
2480
2481 def test_expires_none(self):
2482 """Test case where expires is None."""
2483
2484 morsel = Morsel()
2485 morsel["expires"] = None
2486 cookie = morsel_to_cookie(morsel)
2487 assert cookie.expires is None
2488
2489
2490class TestMorselToCookieMaxAge:

Callers

nothing calls this directly

Calls 1

morsel_to_cookieFunction · 0.90

Tested by

no test coverage detected