mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 18:58:04 +02:00
Add more util aliases to import conventions (#136153)
This commit is contained in:
@ -42,7 +42,7 @@ from homeassistant.helpers.script import (
|
||||
)
|
||||
from homeassistant.helpers.service import async_get_all_descriptions
|
||||
from homeassistant.setup import async_setup_component
|
||||
from homeassistant.util import yaml
|
||||
from homeassistant.util import yaml as yaml_util
|
||||
import homeassistant.util.dt as dt_util
|
||||
|
||||
from tests.common import (
|
||||
@ -1722,7 +1722,7 @@ async def test_blueprint_script_fails_substitution(
|
||||
"""Test blueprint script with bad inputs."""
|
||||
with patch(
|
||||
"homeassistant.components.blueprint.models.BlueprintInputs.async_substitute",
|
||||
side_effect=yaml.UndefinedSubstitution("blah"),
|
||||
side_effect=yaml_util.UndefinedSubstitution("blah"),
|
||||
):
|
||||
assert await async_setup_component(
|
||||
hass,
|
||||
|
Reference in New Issue
Block a user