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

Commit

Permalink
Merge pull request #1309 from DiamondLightSource/1257_dont_connect_to…
Browse files Browse the repository at this point in the history
…_epics_in_unit_test

Setup devices in sim mode during tests
  • Loading branch information
dperl-dls authored Apr 12, 2024
2 parents 143369d + a2c18f0 commit 8846afb
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 8846afb

Please sign in to comment.