From b8e1e6ebea474a28b994f6939061f2a78076525a Mon Sep 17 00:00:00 2001 From: Dominic Oram Date: Thu, 19 Sep 2024 15:26:08 +0100 Subject: [PATCH] Revert test --- .../hyperion/experiment_plans/test_rotation_scan_plan.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/unit_tests/hyperion/experiment_plans/test_rotation_scan_plan.py b/tests/unit_tests/hyperion/experiment_plans/test_rotation_scan_plan.py index 941dfbfde..88f6588fa 100644 --- a/tests/unit_tests/hyperion/experiment_plans/test_rotation_scan_plan.py +++ b/tests/unit_tests/hyperion/experiment_plans/test_rotation_scan_plan.py @@ -233,14 +233,13 @@ async def test_full_rotation_plan_smargon_settings( async def test_rotation_plan_moves_aperture_correctly( run_full_rotation_plan: RotationScanComposite, - test_rotation_params: RotationScan, ) -> None: aperture_scatterguard: ApertureScatterguard = ( run_full_rotation_plan.aperture_scatterguard ) - reading = await aperture_scatterguard.read() - aperture_state = reading[aperture_scatterguard.selected_aperture.name]["value"] - assert aperture_state == ApertureValue.SMALL + assert ( + await aperture_scatterguard.selected_aperture.get_value() == ApertureValue.SMALL + ) async def test_rotation_plan_smargon_doesnt_move_xyz_if_not_given_in_params(