diff --git a/setup.cfg b/setup.cfg index eb5396f..a324ec0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,3 +30,6 @@ ignore_errors = true [pydocstyle] add-ignore = D202 + +[tool:pytest] +asyncio_mode = auto diff --git a/tests/model/test_command.py b/tests/model/test_command.py index dad4993..b7f27ea 100644 --- a/tests/model/test_command.py +++ b/tests/model/test_command.py @@ -3,16 +3,11 @@ from unittest.mock import AsyncMock, call -import pytest - from aiovlc.client import Client from aiovlc.model.command import Status # pylint: disable=unused-argument -# All test coroutines will be treated as marked. -pytestmark = pytest.mark.asyncio - async def test_status_command( transport: tuple[AsyncMock, AsyncMock],