core/tests/components/blueprint/common.py

14 lines
353 B
Python
Raw Normal View History

"""Blueprints test helpers."""
from unittest.mock import patch
from typing_extensions import Generator
def stub_blueprint_populate_fixture_helper() -> Generator[None]:
"""Stub copying the blueprints to the config folder."""
with patch(
"homeassistant.components.blueprint.models.DomainBlueprints.async_populate"
):
yield