From 730229cfb08df83c9cdef7e8610e71a211130ec4 Mon Sep 17 00:00:00 2001 From: Stefan Allius Date: Sun, 9 Jun 2024 01:26:21 +0200 Subject: [PATCH] don't mark all test as async --- app/tests/test_modbus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/tests/test_modbus.py b/app/tests/test_modbus.py index b44cb12..cde756d 100644 --- a/app/tests/test_modbus.py +++ b/app/tests/test_modbus.py @@ -5,9 +5,9 @@ from app.src.modbus import Modbus from app.src.infos import Infos, Register pytest_plugins = ('pytest_asyncio',) -pytestmark = pytest.mark.asyncio(scope="module") +# pytestmark = pytest.mark.asyncio(scope="module") -class TestHelper(Modbus): +class TestHelper(Modbus): # pragma: no cover def __init__(self): super().__init__(self.send_cb) self.db = Infos()