Test case where an invalid type is passed for expires.
(self, value, exception)
| 2472 | ), |
| 2473 | ) |
| 2474 | def test_expires_invalid_int(self, value, exception): |
| 2475 | """Test case where an invalid type is passed for expires.""" |
| 2476 | morsel = Morsel() |
| 2477 | morsel["expires"] = value |
| 2478 | with pytest.raises(exception): |
| 2479 | morsel_to_cookie(morsel) |
| 2480 | |
| 2481 | def test_expires_none(self): |
| 2482 | """Test case where expires is None.""" |
nothing calls this directly
no test coverage detected