mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Fix cloud test RuntimeWarning (#110909)
This commit is contained in:
parent
764e628394
commit
a21d65d025
@ -1046,7 +1046,7 @@ async def test_enabling_remote_remote_activation_not_allowed(
|
||||
client = await hass_ws_client(hass)
|
||||
mock_connect = cloud.remote.connect
|
||||
assert not cloud.client.remote_autostart
|
||||
cloud.client.prefs.async_update(remote_allow_remote_enable=False)
|
||||
await cloud.client.prefs.async_update(remote_allow_remote_enable=False)
|
||||
|
||||
await client.send_json({"id": 5, "type": "cloud/remote/connect"})
|
||||
response = await client.receive_json()
|
||||
|
Loading…
x
Reference in New Issue
Block a user