From 270989b55e11b24952d05d433765cf5fd47e7c37 Mon Sep 17 00:00:00 2001 From: caila-marashaj Date: Wed, 22 May 2024 10:51:08 -0400 Subject: [PATCH] pass pipette info by arg name --- .../backends/test_ot3_subsystem_manager.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/api/tests/opentrons/hardware_control/backends/test_ot3_subsystem_manager.py b/api/tests/opentrons/hardware_control/backends/test_ot3_subsystem_manager.py index 4ac6064b0d7..2efd1a620da 100644 --- a/api/tests/opentrons/hardware_control/backends/test_ot3_subsystem_manager.py +++ b/api/tests/opentrons/hardware_control/backends/test_ot3_subsystem_manager.py @@ -226,12 +226,13 @@ def _pipette_info_from_network( if device.subidentifier != 0 else default_name ) - return tools.types.PipetteInformation( - pipette_name.name, - f"dummyserial{pipette_name.name}", - pipette_name, - pipette_name.value, + tool = tools.types.PipetteInformation( + name=pipette_name, + name_int=pipette_name.value, + model=pipette_name.name, + serial=f"dummyserial{pipette_name.name}", ) + return tool def _auto_tool_summary( self, devices: Dict[FirmwareTarget, network.DeviceInfoCache]