From 49c528c339c0d74af2e7e016ee87b065c79b66fd Mon Sep 17 00:00:00 2001 From: jan iversen Date: Sun, 20 Oct 2024 20:17:26 +0200 Subject: [PATCH] Ruff. --- test/pdu/test_bit_read_messages.py | 1 + test/pdu/test_bit_write_messages.py | 1 + test/pdu/test_register_write_messages.py | 1 + 3 files changed, 3 insertions(+) diff --git a/test/pdu/test_bit_read_messages.py b/test/pdu/test_bit_read_messages.py index ff892438e3..5044350350 100644 --- a/test/pdu/test_bit_read_messages.py +++ b/test/pdu/test_bit_read_messages.py @@ -15,6 +15,7 @@ ReadCoilsRequest, ReadDiscreteInputsRequest, ) + from ..conftest import MockContext diff --git a/test/pdu/test_bit_write_messages.py b/test/pdu/test_bit_write_messages.py index 9d50307de2..37a1f1dfc0 100644 --- a/test/pdu/test_bit_write_messages.py +++ b/test/pdu/test_bit_write_messages.py @@ -13,6 +13,7 @@ WriteSingleCoilRequest, WriteSingleCoilResponse, ) + from ..conftest import FakeList, MockContext diff --git a/test/pdu/test_register_write_messages.py b/test/pdu/test_register_write_messages.py index 313ef0350d..46fc1e31db 100644 --- a/test/pdu/test_register_write_messages.py +++ b/test/pdu/test_register_write_messages.py @@ -9,6 +9,7 @@ WriteSingleRegisterRequest, WriteSingleRegisterResponse, ) + from ..conftest import MockContext, MockLastValuesContext