Skip to content

Commit

Permalink
Extend unit test for no direction selected
Browse files Browse the repository at this point in the history
Add a check that we're going down the error pathway when no direction
has been selected for the beam centre finder.
  • Loading branch information
rbauststfc committed Sep 30, 2024
1 parent eeeb2e3 commit a8edf21
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,4 @@ def test_beam_centre_errors_with_no_direction(self, mocked_alg):
self.worker.find_beam_centre(state, fields)
self.assertEqual(0, mocked_alg.return_value.call_count)
self.worker._logger.error.assert_called_once()
self.mocked_presenter.on_processing_error_centre_finder.assert_called_once()

0 comments on commit a8edf21

Please sign in to comment.