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 single test broken by the ref cleanup #443

Merged

Conversation

WilliamJamieson
Copy link
Collaborator

This PR updates a unit test to be consistent with spacetelescope/rad#527 changes.

Tasks

  • Update or add relevant roman_datamodels tests.
  • Update relevant docstrings and / or docs/ page.
  • Does this PR change any API used downstream? (If not, label with no-changelog-entry-needed.)
News fragment change types:
  • changes/<PR#>.feature.rst: new feature
  • changes/<PR#>.bugfix.rst: fixes an issue
  • changes/<PR#>.doc.rst: documentation change
  • changes/<PR#>.removal.rst: deprecation or removal of public API
  • changes/<PR#>.misc.rst: infrastructure or miscellaneous change

Copy link

codecov bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.34%. Comparing base (087a60d) to head (55a033d).
Report is 92 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #443      +/-   ##
==========================================
- Coverage   97.56%   97.34%   -0.22%     
==========================================
  Files          30       37       +7     
  Lines        2788     3318     +530     
==========================================
+ Hits         2720     3230     +510     
- Misses         68       88      +20     

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

@braingram
Copy link
Collaborator

How about moving this test to RAD instead? That way spacetelescope/rad#527 could update the test.

Copy link
Collaborator

@PaulHuwe PaulHuwe left a comment

Choose a reason for hiding this comment

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

LGTM - remember to change rad pointing before merging.

This is really a test that ought to be in rad as it concerns the schemas but it is here. The change simple updates the reference to the absolute URI rather than the relative URI
@WilliamJamieson
Copy link
Collaborator Author

How about moving this test to RAD instead? That way spacetelescope/rad#527 could update the test.

That is a little outside the scope of what I was trying to do. I can open up follow on PRs.

@WilliamJamieson WilliamJamieson merged commit 8dd30a5 into spacetelescope:main Jan 9, 2025
17 checks passed
@WilliamJamieson WilliamJamieson deleted the feature/cleanup_refs branch January 9, 2025 14:38
@WilliamJamieson WilliamJamieson restored the feature/cleanup_refs branch January 9, 2025 14:38
@WilliamJamieson WilliamJamieson deleted the feature/cleanup_refs branch January 9, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants