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

Dependence removal #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lukeJEdwards
Copy link
Contributor

changes everything to using httpx as there's no need to use to different HTTP libraries for the same job

fixes the index out of bounds on some searches cause of the elevation not being in the response
@robolyst
Copy link
Owner

robolyst commented Jul 3, 2024

I haven't checked this, if you delete the cassettes and run the tests, do the cassettes get regenerated?

My only concern is that pytest VCR only works with the requests library, just want to double check.

@lukeJEdwards
Copy link
Contributor Author

Apart from the eight tests failing because something is not working with my API key, all other tests are passing and still generate the cassettes. httpx was built to be a drop-in replacement for requests, so luckily, it seems to work fine. You might want to test the API test though as I still haven't been able to get my API key to work

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.

2 participants