1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Fix cloud test RuntimeWarning (#110909)

This commit is contained in:
Marc Mueller
2024-02-19 10:09:59 +01:00
committed by GitHub
parent 764e628394
commit a21d65d025

View File

@@ -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()