Do not notify config errors during logging (#104466)
This commit is contained in:
parent
4700ad7817
commit
9962301b42
5 changed files with 14 additions and 8 deletions
|
@ -719,7 +719,7 @@ async def test_setup_hass_invalid_core_config(
|
|||
event_loop: asyncio.AbstractEventLoop,
|
||||
) -> None:
|
||||
"""Test it works."""
|
||||
with patch("homeassistant.config.async_notify_setup_error") as mock_notify:
|
||||
with patch("homeassistant.bootstrap.async_notify_setup_error") as mock_notify:
|
||||
hass = await bootstrap.async_setup_hass(
|
||||
runner.RuntimeConfig(
|
||||
config_dir=get_test_config_dir(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue