From b1b8a49fd89b98c55ed2ca25861e4144d716b1b8 Mon Sep 17 00:00:00 2001 From: Robert Tuck Date: Fri, 10 Jan 2025 16:02:30 +0000 Subject: [PATCH] Fix unit tests for beamstop --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 21df07bc3..5356de234 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -450,7 +450,7 @@ def beamstop_i03( with patch( "dodal.beamlines.i03.get_beamline_parameters", return_value=beamline_parameters ): - beamstop = i03.beamstop(fake_with_ophyd_sim=True) + beamstop = i03.beamstop(connect_immediately=True, mock=True) patch_motor(beamstop.x_mm) patch_motor(beamstop.y_mm) patch_motor(beamstop.z_mm)