Skip to content

Conversation

jamesbraza
Copy link
Collaborator

Without specifying authors, when refreshing the cassette Crossref now matches DOI 10.36106/ijar/1907236, instead of the intended DOI 10.1056/nejmoa2404204.

@jamesbraza jamesbraza self-assigned this Aug 11, 2025
@jamesbraza jamesbraza added the bug Something isn't working label Aug 11, 2025
@Copilot Copilot AI review requested due to automatic review settings August 11, 2025 20:31
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates a test cassette for the test_crossref_journalquality_fields_filtering test to ensure it returns the correct DOI when querying Crossref. The test now includes an author parameter to specifically target DOI 10.1056/nejmoa2404204 instead of an incorrect match.

  • Adds author filtering parameter to the Crossref query in the test
  • Refreshes the corresponding test cassette with updated API responses

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/test_clients.py Adds authors=["Johanne Silvain"] parameter to the Crossref query to ensure correct DOI matching
tests/cassettes/test_crossref_journalquality_fields_filtering.yaml Updated cassette with new API responses including the author query parameter

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 11, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 11, 2025
@jamesbraza jamesbraza merged commit fab944a into main Aug 11, 2025
5 checks passed
@jamesbraza jamesbraza deleted the refreshed-crossref-jq branch August 11, 2025 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants