Improve blueprint test fixtures (#93519)

This commit is contained in:
Erik Montnemery 2023-05-25 13:45:19 +02:00 committed by GitHub
parent 393dbb6dc0
commit 3cca338c6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 400 additions and 81 deletions

View file

@ -28,10 +28,14 @@ from tests.common import (
mock_integration,
mock_platform,
)
from tests.components.blueprint.conftest import stub_blueprint_populate # noqa: F401
from tests.typing import WebSocketGenerator
@pytest.fixture(autouse=True, name="stub_blueprint_populate")
def stub_blueprint_populate_autouse(stub_blueprint_populate):
"""Stub copying the blueprints to the config folder."""
@pytest.fixture
def fake_integration(hass):
"""Set up a mock integration with device automation support."""