Fix unit tests for scan workflows

This commit is contained in:
Julian Stirling 2026-02-06 13:50:47 +00:00
parent 8f30f08bdf
commit cf941b1d11

View file

@ -323,7 +323,7 @@ def test_histo_acquisition_on_sample(histo_workflow, mocker, caplog):
# Should never warn # Should never warn
assert len(caplog.records) == 1 assert len(caplog.records) == 1
expected_message = "Stack failed at (1, 2, 3) treating as background." expected_message = "Stack failed at (1, 2, 3). Treating as background."
assert caplog.records[0].message == expected_message assert caplog.records[0].message == expected_message
assert caplog.records[0].levelname == "INFO" assert caplog.records[0].levelname == "INFO"