mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Do not notify config errors during logging (#104466)
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user