mirror of
https://github.com/home-assistant/core.git
synced 2025-05-02 21:19:16 +00:00
14 lines
353 B
Python
14 lines
353 B
Python
"""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
|