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():
|
2021-11-01 06:33:09 -07:00
|
|
|
"""Stub copying the blueprints to the config folder."""
|
2020-11-25 15:10:04 +01:00
|
|
|
with patch(
|
|
|
|
"homeassistant.components.blueprint.models.DomainBlueprints.async_populate"
|
|
|
|
):
|
|
|
|
yield
|