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 Mock constructor params/url order mishandling #111

Merged
merged 2 commits into from
Dec 31, 2023

Conversation

sarayourfriend
Copy link
Collaborator

Fixes #104 by using an explicit order to trigger methods on Mock.

This does not handle the case where query param arguments are passed without url at all. That will continue to raise an exception, which is intentional until a bigger change can be made to make the mock lazy and self-validating.

@sarayourfriend sarayourfriend merged commit ff30ca7 into master Dec 31, 2023
8 checks passed
@sarayourfriend sarayourfriend deleted the fix/mock-constructor branch December 31, 2023 23:39
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.

Cannot pass param, param_exists or params kwarg to Mock constructor
1 participant