Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Nov 1, 2024
1 parent cf9af76 commit ef52632
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/tests/opentrons/config/ot3_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions api/tests/opentrons/hardware_control/test_ot3_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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 * (
Expand Down

0 comments on commit ef52632

Please sign in to comment.