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

Fix cloud tts loading (#107714)

This commit is contained in:
Martin Hjelmare
2024-01-12 09:47:08 +01:00
committed by GitHub
parent ce11366b9c
commit f8318bbbc7
6 changed files with 108 additions and 24 deletions

View File

@@ -113,8 +113,8 @@ async def setup_cloud_fixture(hass: HomeAssistant, cloud: MagicMock) -> None:
},
)
await hass.async_block_till_done()
on_start_callback = cloud.register_on_start.call_args[0][0]
await on_start_callback()
await cloud.login("test-user", "test-pass")
cloud.login.reset_mock()
async def test_google_actions_sync(