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

Update unit tests to match the new VRS 2.0 digests #92

Merged
merged 12 commits into from
Apr 26, 2024
Merged

Update unit tests to match the new VRS 2.0 digests #92

merged 12 commits into from
Apr 26, 2024

Conversation

ehclark
Copy link
Contributor

@ehclark ehclark commented Apr 18, 2024

Updated the unit tests inputs and expected outputs to match VRS 2.0.

In addition, the following changes were made:

  • __getitem__ now throws KeyError on missing key to match API expectations for MutableMapping
  • Response models no longer reference ga4gh.vrs.models classes (see Add back missing response models to openapi.json #91)
  • /locations/{id} and /variation/{id} behave consistently and return 404 when id is not found

@ehclark ehclark linked an issue Apr 18, 2024 that may be closed by this pull request
Copy link
Contributor

@jsstevenson jsstevenson left a comment

Choose a reason for hiding this comment

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

👍

@ehclark ehclark merged commit e1981fe into main Apr 26, 2024
5 checks passed
@ehclark ehclark deleted the issue-85 branch April 26, 2024 13:47
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.

Update unit tests to match latest serialization model for VRS 2.0.0a5
3 participants