Rename safe mode to recovery mode (#102580)
This commit is contained in:
parent
7a009ed6cd
commit
c481fdb7d0
17 changed files with 67 additions and 65 deletions
|
@ -48,8 +48,8 @@ async def test_lovelace_from_storage(
|
|||
|
||||
assert response["result"] == {"yo": "hello"}
|
||||
|
||||
# Test with safe mode
|
||||
hass.config.safe_mode = True
|
||||
# Test with recovery mode
|
||||
hass.config.recovery_mode = True
|
||||
await client.send_json({"id": 8, "type": "lovelace/config"})
|
||||
response = await client.receive_json()
|
||||
assert not response["success"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue