Add default config if not there (#43321)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Paulus Schoutsen 2020-11-25 15:10:04 +01:00 committed by GitHub
parent 0cf3736162
commit b3be708db6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
75 changed files with 432 additions and 21 deletions

View file

@ -0,0 +1,14 @@
"""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