Import Generator from typing_extensions (3) (#118990)
This commit is contained in:
parent
0ecab967dd
commit
33ed4fd862
93 changed files with 258 additions and 257 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue