Improve blueprint test fixtures (#93519)
This commit is contained in:
parent
393dbb6dc0
commit
3cca338c6e
76 changed files with 400 additions and 81 deletions
|
@ -10,10 +10,14 @@ from homeassistant.components import config
|
|||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import entity_registry as er
|
||||
|
||||
from tests.components.blueprint.conftest import stub_blueprint_populate # noqa: F401
|
||||
from tests.typing import ClientSessionGenerator
|
||||
|
||||
|
||||
@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
|
||||
async def setup_automation(
|
||||
hass, automation_config, stub_blueprint_populate # noqa: F811
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue