Prevent deleting blueprints which are in use (#78444)
This commit is contained in:
parent
855b0dfdba
commit
2ba0f42acc
10 changed files with 192 additions and 8 deletions
|
@ -47,7 +47,9 @@ def blueprint_2():
|
|||
@pytest.fixture
|
||||
def domain_bps(hass):
|
||||
"""Domain blueprints fixture."""
|
||||
return models.DomainBlueprints(hass, "automation", logging.getLogger(__name__))
|
||||
return models.DomainBlueprints(
|
||||
hass, "automation", logging.getLogger(__name__), None
|
||||
)
|
||||
|
||||
|
||||
def test_blueprint_model_init():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue