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

Fix service script tests for change in autogenerated date #1385

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Jan 2, 2024

The update-dandiset-from-doi tests are currently failing because they test against the Dandisets' final citation fields (among others), which the Archive automatically populates based on the year the Dandisets were created (among other things), and so our expected output is no longer accurate as of the new year.

@jwodder jwodder added the tests Add or improve existing tests label Jan 2, 2024
Copy link

codecov bot commented Jan 2, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (4d725d2) 88.51% compared to head (f4d687d) 88.58%.

Files Patch % Lines
dandi/cli/tests/test_service_scripts.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1385      +/-   ##
==========================================
+ Coverage   88.51%   88.58%   +0.07%     
==========================================
  Files          77       77              
  Lines       10480    10484       +4     
==========================================
+ Hits         9276     9287      +11     
+ Misses       1204     1197       -7     
Flag Coverage Δ
unittests 88.58% <80.00%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yarikoptic
Copy link
Member

Thank you for the quick fix. I am not yet verse in anys so have difficulty figuring the patch out but that is ok -- CI is happy! ;)

@yarikoptic yarikoptic merged commit 2355c2c into master Jan 3, 2024
27 of 28 checks passed
@yarikoptic yarikoptic deleted the fix-tests branch January 3, 2024 17:06
Copy link

github-actions bot commented Jan 9, 2024

🚀 PR was released in 0.59.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released tests Add or improve existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants