Skip to content

Commit

Permalink
Make ruff happpy
Browse files Browse the repository at this point in the history
  • Loading branch information
rtuck99 committed Sep 30, 2024
1 parent bd22bd5 commit 971ad3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/unit_tests/hyperion/experiment_plans/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def robot_load_composite(
sample_shutter,
zebra,
panda,
panda_fast_grid_scan
panda_fast_grid_scan,
) -> RobotLoadThenCentreComposite:
set_mock_value(dcm.energy_in_kev.user_readback, 11.105)
aperture_scatterguard = aperture_scatterguard
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def test_load_centre_collect_full_plan_happy_path_invokes_all_steps(
return_value=iter([]),
)
@patch(
"mx_bluesky.hyperion.experiment_plans.robot_load_and_change_energy.set_energy_plan", new=MagicMock()
"mx_bluesky.hyperion.experiment_plans.robot_load_and_change_energy.set_energy_plan",
new=MagicMock(),
)
def test_load_centre_collect_full_plan_skips_collect_if_pin_tip_not_found(
mock_rotation_scan: MagicMock,
Expand Down Expand Up @@ -212,7 +213,8 @@ def test_load_centre_collect_full_plan_skips_collect_if_pin_tip_not_found(
return_value=iter([]),
)
@patch(
"mx_bluesky.hyperion.experiment_plans.robot_load_and_change_energy.set_energy_plan", new=MagicMock()
"mx_bluesky.hyperion.experiment_plans.robot_load_and_change_energy.set_energy_plan",
new=MagicMock(),
)
def test_load_centre_collect_full_plan_skips_collect_if_no_diffraction(
mock_rotation_scan: MagicMock,
Expand Down

0 comments on commit 971ad3e

Please sign in to comment.