Skip to content

Commit

Permalink
satisfy mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyWiggins authored Apr 18, 2024
1 parent c13a198 commit fb922ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_route_series_fail2(fs: FakeFilesystem, mercure_config, mocked):
severity.ERROR,
"Invalid rule encountered: 1/0 ",
)
common.monitor.send_task_event.assert_any_call(task_event.DISCARD, task_id,1, "","Discard by default.")
common.monitor.send_task_event.assert_any_call(task_event.DISCARD, task_id,1, "","Discard by default.") # type: ignore
common.monitor.send_task_event.reset_mock() # type: ignore


Expand Down Expand Up @@ -383,7 +383,7 @@ async def test_route_series_fail_with_bad_tags(fs: FakeFilesystem, mercure_confi
common.monitor.send_register_task.assert_any_call(task_id, series_uid) # type: ignore
router.route_series.assert_called_once_with(task_id, series_uid) # type: ignore

common.monitor.send_task_event.assert_any_call(task_event.DISCARD, task_id,1, "","Discard by default. Decoding error detected: some tags were not properly decoded, likely due to a malformed DICOM file. The expected rule may therefore not have been triggered.")
common.monitor.send_task_event.assert_any_call(task_event.DISCARD, task_id,1, "","Discard by default. Decoding error detected: some tags were not properly decoded, likely due to a malformed DICOM file. The expected rule may therefore not have been triggered.") # type: ignore



Expand Down

0 comments on commit fb922ca

Please sign in to comment.