Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Nov 22, 2024
1 parent ae3eb32 commit 422c872
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1419,8 +1419,10 @@ async def test_controller_move(
assert gear_position == gear_position



@pytest.mark.parametrize(argnames=["axes", "pipette_has_sensor"], argvalues=[[[Axis.P_L, Axis.P_R], True], [[Axis.P_L, Axis.P_R], False]])
@pytest.mark.parametrize(
argnames=["axes", "pipette_has_sensor"],
argvalues=[[[Axis.P_L, Axis.P_R], True], [[Axis.P_L, Axis.P_R], False]],
)
async def test_pressure_disable(
controller: OT3Controller,
axes: List[Axis],
Expand All @@ -1442,7 +1444,8 @@ async def test_pressure_disable(
await controller.home(axes, GantryLoad.LOW_THROUGHPUT)

if pipette_has_sensor:
monitor.assert_called_once_with([NodeId.pipette_left, NodeId.pipette_right])
monitor.assert_called_once_with(
[NodeId.pipette_left, NodeId.pipette_right]
)
else:
monitor.assert_called_once_with([NodeId.pipette_right])

0 comments on commit 422c872

Please sign in to comment.