From a2c18f0c42747d8c8c40f939a30f0a35ab55c062 Mon Sep 17 00:00:00 2001 From: Oliver Silvester Date: Thu, 11 Apr 2024 15:07:40 +0100 Subject: [PATCH] Setup devices in sim mode during tests --- tests/unit_tests/hyperion/test_main_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/hyperion/test_main_system.py b/tests/unit_tests/hyperion/test_main_system.py index 991e93f02..e3fb73624 100644 --- a/tests/unit_tests/hyperion/test_main_system.py +++ b/tests/unit_tests/hyperion/test_main_system.py @@ -549,7 +549,7 @@ def test_when_context_created_then_contains_expected_number_of_plans( get_beamline_parameters, ): with patch.dict(os.environ, {"BEAMLINE": "i03"}): - context = setup_context(wait_for_connection=False) + context = setup_context(wait_for_connection=False, fake_with_ophyd_sim=True) plan_names = context.plans.keys()