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

DM-28668: PipelineTask unit test framework bypasses dimensions checks #182

Merged
merged 4 commits into from Jun 9, 2021

Conversation

kfindeisen
Copy link
Member

This PR tries to catch connections dimension errors by checking that supplied data IDs in testing match the connections (on the assumption that a mismatch might mean the connections aren't what the test author expected) and by providing a separate function for detecting common errors.

Copy link

@taranu taranu left a comment

Choose a reason for hiding this comment

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

The changes seem fine; I just had a couple of questions and some suggestions that you can feel free to ignore if they're not helpful.

python/lsst/pipe/base/testUtils.py Show resolved Hide resolved
python/lsst/pipe/base/testUtils.py Show resolved Hide resolved
python/lsst/pipe/base/testUtils.py Show resolved Hide resolved
tests/test_testUtils.py Show resolved Hide resolved
@kfindeisen kfindeisen merged commit c280871 into master Jun 9, 2021
@kfindeisen kfindeisen deleted the tickets/DM-28668 branch June 9, 2021 23:23
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.

None yet

2 participants