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