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

Setup devices in sim mode during tests #1309

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/unit_tests/hyperion/test_main_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
Loading