-
Notifications
You must be signed in to change notification settings - Fork 217
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
Make integration tests independent of sample data #747
Comments
Can be related with WordPress/openverse-api#181 to make the examples work as test cases. |
@dhruvkb Is #725 a duplicate of this issue? @zackkrida is this still high priority? |
Priority has been downgraded to low. |
* Add phylopic to provider module * Initial phylopic refactor * Finish provider refactor * Only use endpoint conditionally, add should_continue & fix params * Correct get_response_json logic * Initial test changes * Update tests * Add provider data ingester to list * Improve documentation Co-authored-by: sarayourfriend <24264157+sarayourfriend@users.noreply.github.com> * Use computed endpoint rather than get_response_json override * Rename _uuid to uid * Remove scratch code Co-authored-by: sarayourfriend <24264157+sarayourfriend@users.noreply.github.com> * Remove _get_meta_data function * Make Phylopic daily * Move start date to first day data is actually made available Co-authored-by: sarayourfriend <24264157+sarayourfriend@users.noreply.github.com>
While working on #3931, I had to update the sample data to include the new audio provider with a different shape of the I wonder if something like Schemathesis exists for synthetic data creation. |
Problem
The API integration tests used by the CI workflow use the sample data. This makes them tightly coupled and causes problems when updating the sample data to match changes in models.
Description
The integration tests should use QA indices
search-qa-images
andsearch-qa-audio
that are created programmatically.Alternatives
Implementation
The text was updated successfully, but these errors were encountered: