hass-core/tests/components/blueprint/conftest.py
Paulus Schoutsen b3be708db6
Add default config if not there (#43321)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00

14 lines
333 B
Python

"""Blueprints conftest."""
import pytest
from tests.async_mock import patch
@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