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-41191: fix mocking bugs involving automatic-output connections #379
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, a couple of minor comments.
data ID match using the butler expression language (i.e. a string of | ||
the sort passed ass the ``where`` argument to butler query methods), | ||
while the second is the type of exception to raise when the quantum | ||
data ID matches the expression. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the meaning of None
for exception type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to remind myself since I just copied this from mock_task_defs
, but the answer is that it's just a way to make it easy to invoke the default of ValueError
, which is defined down in the MockPipelineTaskConfig
. Will document.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #379 +/- ##
==========================================
- Coverage 82.62% 82.46% -0.16%
==========================================
Files 92 92
Lines 10323 10346 +23
Branches 1945 1951 +6
==========================================
+ Hits 8529 8532 +3
- Misses 1452 1472 +20
Partials 342 342
☔ View full report in Codecov by Sentry. |
This will replace mock_task_defs in the future.
Automatic-output connections (configs, logs, metadata) get _mock prefixes from the task label, but don't actually use mock storage classes.
1391746
to
61de32b
Compare
Checklist
doc/changes