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

Mock calls to APIs in tests #71

Open
klwetstone opened this issue Aug 31, 2023 · 0 comments
Open

Mock calls to APIs in tests #71

klwetstone opened this issue Aug 31, 2023 · 0 comments
Labels

Comments

@klwetstone
Copy link
Collaborator

klwetstone commented Aug 31, 2023

Rather than hitting planetary computer APIs in the tests, mock the results from the API our tests do not fail as a result of something API-related (eg. too many hits, internet issues, etc.)

Consider having one test that does hit the API, and then just that test fails if we hit the API

@klwetstone klwetstone added the package Related to phase 2 open-source package label Aug 31, 2023
@ejm714 ejm714 added tests and removed package Related to phase 2 open-source package labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants