mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Fix incorrect blueprint type hints in tests (#118694)
This commit is contained in:
parent
d5eebb202b
commit
77c627e6f3
@ -1,11 +1,10 @@
|
||||
"""Blueprints test helpers."""
|
||||
|
||||
from collections.abc import Generator
|
||||
from typing import Any
|
||||
from unittest.mock import patch
|
||||
|
||||
|
||||
def stub_blueprint_populate_fixture_helper() -> Generator[None, Any, None]:
|
||||
def stub_blueprint_populate_fixture_helper() -> Generator[None, None, None]:
|
||||
"""Stub copying the blueprints to the config folder."""
|
||||
with patch(
|
||||
"homeassistant.components.blueprint.models.DomainBlueprints.async_populate"
|
||||
|
@ -50,7 +50,7 @@ def entity_registry_enabled_by_default() -> Generator[None, None, None]:
|
||||
|
||||
# Blueprint test fixtures
|
||||
@pytest.fixture(name="stub_blueprint_populate")
|
||||
def stub_blueprint_populate_fixture() -> Generator[None, Any, None]:
|
||||
def stub_blueprint_populate_fixture() -> Generator[None, None, None]:
|
||||
"""Stub copying the blueprints to the config folder."""
|
||||
from tests.components.blueprint.common import stub_blueprint_populate_fixture_helper
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user