mirror of
https://github.com/home-assistant/core.git
synced 2026-05-08 17:49:37 +01:00
Rename safe mode to recovery mode (#102580)
This commit is contained in:
@@ -690,9 +690,9 @@ async def test_get_mqtt(hass: HomeAssistant) -> None:
|
||||
assert mqtt["test_2"] == ["test_2/discovery"]
|
||||
|
||||
|
||||
async def test_get_custom_components_safe_mode(hass: HomeAssistant) -> None:
|
||||
"""Test that we get empty custom components in safe mode."""
|
||||
hass.config.safe_mode = True
|
||||
async def test_get_custom_components_recovery_mode(hass: HomeAssistant) -> None:
|
||||
"""Test that we get empty custom components in recovery mode."""
|
||||
hass.config.recovery_mode = True
|
||||
assert await loader.async_get_custom_components(hass) == {}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user