Test case where a invalid max age is passed.
(self)
| 2499 | assert isinstance(cookie.expires, int) |
| 2500 | |
| 2501 | def test_max_age_invalid_str(self): |
| 2502 | """Test case where a invalid max age is passed.""" |
| 2503 | |
| 2504 | morsel = Morsel() |
| 2505 | morsel["max-age"] = "woops" |
| 2506 | with pytest.raises(TypeError): |
| 2507 | morsel_to_cookie(morsel) |
| 2508 | |
| 2509 | |
| 2510 | class TestTimeout: |
nothing calls this directly
no test coverage detected