2020-11-25 15:10:04 +01:00
|
|
|
"""Blueprints conftest."""
|
|
|
|
|
2021-01-01 22:31:56 +01:00
|
|
|
from unittest.mock import patch
|
2020-11-25 15:10:04 +01:00
|
|
|
|
2021-01-01 22:31:56 +01:00
|
|
|
import pytest
|
2020-11-25 15:10:04 +01:00
|
|
|
|
|
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
|
|
def stub_blueprint_populate():
|
|
|
|
"""Stub copying the blueprint automations to the config folder."""
|
|
|
|
with patch(
|
|
|
|
"homeassistant.components.blueprint.models.DomainBlueprints.async_populate"
|
|
|
|
):
|
|
|
|
yield
|