Import Generator from typing_extensions (3) (#118990)

This commit is contained in:
Marc Mueller 2024-06-06 17:28:59 +02:00 committed by GitHub
parent 0ecab967dd
commit 33ed4fd862
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
93 changed files with 258 additions and 257 deletions

View file

@ -1,9 +1,9 @@
"""The tests for the lawn mower integration."""
from collections.abc import Generator
from unittest.mock import MagicMock
import pytest
from typing_extensions import Generator
from homeassistant.components.lawn_mower import (
DOMAIN as LAWN_MOWER_DOMAIN,
@ -52,7 +52,7 @@ class MockLawnMowerEntity(LawnMowerEntity):
@pytest.fixture(autouse=True)
def config_flow_fixture(hass: HomeAssistant) -> Generator[None, None, None]:
def config_flow_fixture(hass: HomeAssistant) -> Generator[None]:
"""Mock config flow."""
mock_platform(hass, f"{TEST_DOMAIN}.config_flow")