Skip to content

Commit

Permalink
Merge pull request #121 from lsst/tickets/DM-40150
Browse files Browse the repository at this point in the history
DM-40150: Use QuantumContext rather than deprecated ButlerQuantumContext
  • Loading branch information
timj committed Jan 5, 2024
2 parents 625d2a3 + 71a7492 commit ad54fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_apdbMetricTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def run(self, *args, **kwargs):
butler, quantum, input = self._prepareQuantum(task)

with unittest.mock.patch.object(
lsst.pipe.base.ButlerQuantumContext, "put") as put:
lsst.pipe.base.QuantumContext, "put") as put:
testUtils.runTestQuantum(task, butler, quantum, mockRun=False)
# Should not attempt to write nonexistent data
put.assert_not_called()
Expand Down

0 comments on commit ad54fd2

Please sign in to comment.