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(