Skip to content

Update responses to 0.26.0#308

Open
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-responses-0.25.7-to-0.26.0
Open

Update responses to 0.26.0#308
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-responses-0.25.7-to-0.26.0

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates responses from 0.25.7 to 0.26.0.

Changelog

0.26.0

------

* When using `assert_all_requests_are_fired=True`, assertions about
unfired requests are now raised even when an exception occurs in the context manager or
decorated function. Previously, these assertions were suppressed when exceptions occurred.
This new behavior provides valuable debugging context about which mocked requests were
or weren't called.
* Consider the `Retry-After` header when handling retries

0.25.8

------

* Fix bug where the content type is always recorded as either text/plain or application/json. See 770
* Allow asserts on add_callback() matches. See 727
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant