Skip to content

Commit cda0703

Browse files
committed
chore: fix lint errors
1 parent 756bd4a commit cda0703

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/mqtt/test_roborock_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Tests for the MQTT session module."""
22

33
import asyncio
4-
from collections.abc import Callable, Generator
4+
from collections.abc import AsyncGenerator, Callable
55
from queue import Queue
66
from typing import Any
77
from unittest.mock import AsyncMock, Mock, patch
@@ -32,7 +32,7 @@ def mqtt_server_fixture(mock_create_connection: None, mock_select: None) -> None
3232

3333

3434
@pytest.fixture(autouse=True)
35-
async def mock_client_fixture() -> Generator[None, None, None]:
35+
async def mock_client_fixture() -> AsyncGenerator[None, None]:
3636
"""Fixture to patch the MQTT underlying sync client.
3737
3838
The tests use fake sockets, so this ensures that the async mqtt client does not

0 commit comments

Comments
 (0)