don't mark all test as async
This commit is contained in:
@@ -5,9 +5,9 @@ from app.src.modbus import Modbus
|
|||||||
from app.src.infos import Infos, Register
|
from app.src.infos import Infos, Register
|
||||||
|
|
||||||
pytest_plugins = ('pytest_asyncio',)
|
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):
|
def __init__(self):
|
||||||
super().__init__(self.send_cb)
|
super().__init__(self.send_cb)
|
||||||
self.db = Infos()
|
self.db = Infos()
|
||||||
|
|||||||
Reference in New Issue
Block a user