Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
Patch flux device
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Jul 12, 2023
1 parent 69a3124 commit f7c3205
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/artemis/system_tests/test_main_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ def test_cli_args_parse():
assert test_args == ("DEBUG", True, True, True)


@patch("dodal.beamlines.i03.flux")
@patch("dodal.beamlines.i03.DetectorMotion")
@patch("dodal.beamlines.i03.OAV")
@patch("dodal.beamlines.i03.ApertureScatterguard")
Expand Down Expand Up @@ -327,6 +328,7 @@ def test_when_blueskyrunner_initiated_then_plans_are_setup_and_devices_connected
aperture_scatterguard,
oav,
detector_motion,
flux,
):
type_comparison.return_value = True
BlueskyRunner(MagicMock(), skip_startup_connection=False)
Expand All @@ -341,6 +343,7 @@ def test_when_blueskyrunner_initiated_then_plans_are_setup_and_devices_connected
aperture_scatterguard.return_value.wait_for_connection.assert_called()
oav.return_value.wait_for_connection.assert_called()
detector_motion.return_value.wait_for_connection.assert_called()
flux.return_value.wait_for_connection.assert_called()


@patch("artemis.experiment_plans.fast_grid_scan_plan.EigerDetector")
Expand Down

0 comments on commit f7c3205

Please sign in to comment.