Closed lundberg closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
24ee4a9
) to head (c670ccb
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Adds a
respx.SetCookie
utility that can be used for easier mocking of responseSet-Cookie
headers.The
route.respond(...)
helper is also enhanced with acookies
kwarg that supportsdict[str, str]
,Sequence[tuple[str, str]]
orSequence[SetCookie]
.Example usage via headers:
.. or by using respond ..
Fixes #249