Import Generator from typing_extensions (5) (#118993)

This commit is contained in:
Marc Mueller 2024-06-06 17:33:27 +02:00 committed by GitHub
parent 632238a7f9
commit 59e178df3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 158 additions and 160 deletions

View file

@ -1,9 +1,9 @@
"""The tests for the Update component."""
from collections.abc import Generator
from unittest.mock import MagicMock, patch
import pytest
from typing_extensions import Generator
from homeassistant.components.update import (
ATTR_BACKUP,
@ -767,7 +767,7 @@ class MockFlow(ConfigFlow):
@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")