Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix interoperability with responses 0.17.0 #4749

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

bblommers
Copy link
Collaborator

@bblommers bblommers commented Jan 11, 2022

Extracts all the custom responses-logic into a dedicated file
Adds a CustomRegistry that works with 0.17.0
Test more versions of responses, to ensure Moto works with every possible version

Changes the responses.reset() to responses.calls.reset(), to ensure that our custom registry and passthru-prefixes are not being reset.

Related PR where the possibility of using the CustomRegistry was raised: #4657

@bblommers bblommers force-pushed the fix/responses-17 branch 2 times, most recently from bf0a578 to e344604 Compare January 11, 2022 23:35
@github-actions
Copy link
Contributor

This is now part of moto >= 2.3.2.dev2

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.

Moto reset API fails - Connection refused by Responses - the call doesn't match any registered mock
1 participant