mirror of https://github.com/home-assistant/core
13 lines
350 B
Python
13 lines
350 B
Python
"""Blueprints test helpers."""
|
|
|
|
from collections.abc import Generator
|
|
from unittest.mock import patch
|
|
|
|
|
|
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
|