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

Commit

Permalink
(#759) Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicOram committed Jun 29, 2023
1 parent 99053aa commit 183bf0c
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,8 @@ def test_wait_for_detector(RE):
RE(wait_for_det_to_finish_moving(d_m, 0.5))


def test_get_plan(test_fgs_params, test_config_files, mock_subscriptions):
with patch("artemis.experiment_plans.full_grid_scan.i03"), patch(
"artemis.experiment_plans.full_grid_scan.FGSCallbackCollection.from_params",
lambda _: mock_subscriptions,
):
def test_get_plan(test_fgs_params, test_config_files):
with patch("artemis.experiment_plans.full_grid_scan.i03"):
plan = get_plan(test_fgs_params, test_config_files)

assert isinstance(plan, Generator)
Expand Down

0 comments on commit 183bf0c

Please sign in to comment.