Skip to content

Commit

Permalink
fix api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed May 23, 2024
1 parent 7a05d17 commit 90b9f7c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions api/tests/opentrons/hardware_control/test_ot3_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,12 +775,19 @@ async def test_liquid_probe(
pipette_node: Axis,
mount: OT3Mount,
fake_liquid_settings: LiquidProbeSettings,
mock_instrument_handlers: Tuple[MagicMock],
mock_current_position_ot3: AsyncMock,
mock_ungrip: AsyncMock,
mock_move_to_plunger_bottom: AsyncMock,
) -> None:
mock_ungrip.return_value = None
instr_data = AttachedPipette(
config=load_pipette_data.load_definition(
PipetteModelType("p1000"), PipetteChannelType(1), PipetteVersionType(3, 4)
),
id="fakepip",
)
await ot3_hardware.cache_pipette(mount, instr_data, None)
pipette = ot3_hardware.hardware_pipettes[mount.to_mount()]
assert pipette
await ot3_hardware.add_tip(mount, 100)
await ot3_hardware.home()
mock_move_to.return_value = None

Expand Down

0 comments on commit 90b9f7c

Please sign in to comment.