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

Replace httpretty with responses #42

Merged
merged 10 commits into from
Sep 23, 2020
Merged

Replace httpretty with responses #42

merged 10 commits into from
Sep 23, 2020

Conversation

ajhodges
Copy link
Contributor

This reworks our HTTPrettyAsserter to use responses under the hood. IME, responses is a much more mature library with less quirks.

I tried to build a compatibility layer around responses to make it function similarly to HTTPretty, to reduce the amount of changes to this fixture as well as any dependent codebases. I've tested these changes in Transmission, and I'm fairly confident that the change in Profiles should go pretty smoothly.

Copy link
Contributor

@jamesfneyer jamesfneyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a couple notes on possible improvements for the asserter.

mlclay
mlclay previously approved these changes Sep 23, 2020
@ajhodges ajhodges merged commit bdce2bf into master Sep 23, 2020
@ajhodges ajhodges deleted the mocket branch September 23, 2020 23:36
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.

3 participants