pytest: using asyncio session scope to get rid of more warnings

This commit is contained in:
Mose Müller
2024-07-30 08:26:51 +02:00
parent 2364fc892c
commit 7e63f34c0a
4 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@ import pytest
from pytest import LogCaptureFixture
@pytest.mark.asyncio
@pytest.mark.asyncio(scope="session")
async def test_reconnection(caplog: LogCaptureFixture) -> None:
class MyService(pydase.components.device_connection.DeviceConnection):
def __init__(