diff --git a/api/tests/opentrons/hardware_control/integration/test_magdeck.py b/api/tests/opentrons/hardware_control/integration/test_magdeck.py index 9e3caeb00ee..bdff3a7b004 100644 --- a/api/tests/opentrons/hardware_control/integration/test_magdeck.py +++ b/api/tests/opentrons/hardware_control/integration/test_magdeck.py @@ -2,6 +2,7 @@ import pytest from mock import AsyncMock +from opentrons.drivers.rpi_drivers.types import USBPort from opentrons.hardware_control.emulation.app import MAGDECK_PORT from opentrons.hardware_control.modules import MagDeck @@ -11,6 +12,7 @@ async def magdeck(loop: asyncio.BaseEventLoop, emulation_app) -> MagDeck: td = await MagDeck.build( port=f"socket://127.0.0.1:{MAGDECK_PORT}", execution_manager=AsyncMock(), + usb_port=USBPort(name="", port_number=1, sub_names=[], device_path="", hub=1), loop=loop ) yield td diff --git a/api/tests/opentrons/hardware_control/integration/test_tempdeck.py b/api/tests/opentrons/hardware_control/integration/test_tempdeck.py index 2987d0cc4ad..63811a95d1b 100644 --- a/api/tests/opentrons/hardware_control/integration/test_tempdeck.py +++ b/api/tests/opentrons/hardware_control/integration/test_tempdeck.py @@ -2,6 +2,7 @@ import pytest from mock import AsyncMock +from opentrons.drivers.rpi_drivers.types import USBPort from opentrons.hardware_control.emulation.app import TEMPDECK_PORT from opentrons.hardware_control.modules import TempDeck @@ -11,6 +12,8 @@ async def tempdeck(loop: asyncio.BaseEventLoop, emulation_app) -> TempDeck: td = await TempDeck.build( port=f"socket://127.0.0.1:{TEMPDECK_PORT}", execution_manager=AsyncMock(), + usb_port=USBPort(name="", port_number=1, sub_names=[], device_path="", + hub=1), loop=loop ) yield td diff --git a/api/tests/opentrons/hardware_control/integration/test_thermocycler.py b/api/tests/opentrons/hardware_control/integration/test_thermocycler.py index 9753540d6f6..76c65b3b686 100644 --- a/api/tests/opentrons/hardware_control/integration/test_thermocycler.py +++ b/api/tests/opentrons/hardware_control/integration/test_thermocycler.py @@ -3,6 +3,7 @@ import pytest from mock import AsyncMock, patch from opentrons.config import IS_WIN +from opentrons.drivers.rpi_drivers.types import USBPort from opentrons.drivers.thermocycler.driver import TCPoller from opentrons.hardware_control.emulation.app import THERMOCYCLER_PORT from opentrons.hardware_control.modules import Thermocycler @@ -25,6 +26,8 @@ async def thermocycler( td = await Thermocycler.build( port=f"socket://127.0.0.1:{THERMOCYCLER_PORT}", execution_manager=AsyncMock(), + usb_port=USBPort(name="", port_number=1, sub_names=[], device_path="", + hub=1), loop=loop ) yield td