From ef52632a5b3b393ea904c770819cfa8322e6dca3 Mon Sep 17 00:00:00 2001 From: Ryan howard Date: Fri, 1 Nov 2024 14:47:50 -0400 Subject: [PATCH] fix tests --- api/tests/opentrons/config/ot3_settings.py | 1 + api/tests/opentrons/hardware_control/test_ot3_api.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/api/tests/opentrons/config/ot3_settings.py b/api/tests/opentrons/config/ot3_settings.py index 04370fd6c09..cb28fb116af 100644 --- a/api/tests/opentrons/config/ot3_settings.py +++ b/api/tests/opentrons/config/ot3_settings.py @@ -116,6 +116,7 @@ "left_mount_offset": (2, 2, 2), "gripper_mount_offset": (1, 1, 1), "liquid_sense": { + "mount_acceleration": 0, "mount_speed": 10, "plunger_speed": 10, "plunger_impulse_time": 0.2, diff --git a/api/tests/opentrons/hardware_control/test_ot3_api.py b/api/tests/opentrons/hardware_control/test_ot3_api.py index df3329e3e19..5563287040d 100644 --- a/api/tests/opentrons/hardware_control/test_ot3_api.py +++ b/api/tests/opentrons/hardware_control/test_ot3_api.py @@ -860,6 +860,7 @@ async def test_liquid_probe( probe=InstrumentProbeType.PRIMARY, force_both_sensors=False, response_queue=None, + mount_acceleration=fake_settings_aspirate.mount_acceleration, ) await ot3_hardware.liquid_probe( @@ -1117,6 +1118,7 @@ async def test_multi_liquid_probe( probe=InstrumentProbeType.PRIMARY, force_both_sensors=False, response_queue=None, + mount_acceleration=fake_settings_aspirate.mount_acceleration, ) assert mock_liquid_probe.call_count == 3 @@ -1154,6 +1156,7 @@ async def _fake_pos_update_and_raise( response_queue: Optional[ asyncio.Queue[Dict[SensorId, List[SensorDataType]]] ] = None, + mount_acceleration: float = 0, ) -> float: pos = self._position pos[Axis.by_mount(mount)] += mount_speed * (