mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 15:27:08 +00:00
Fix test RuntimeWarnings for hassio (#141883)
This commit is contained in:
parent
1c16fb8e42
commit
7336178e03
@ -42,6 +42,7 @@ def mock_all(
|
|||||||
aioclient_mock: AiohttpClientMocker,
|
aioclient_mock: AiohttpClientMocker,
|
||||||
supervisor_is_connected: AsyncMock,
|
supervisor_is_connected: AsyncMock,
|
||||||
resolution_info: AsyncMock,
|
resolution_info: AsyncMock,
|
||||||
|
addon_info: AsyncMock,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Mock all setup requests."""
|
"""Mock all setup requests."""
|
||||||
aioclient_mock.post("http://127.0.0.1/homeassistant/options", json={"result": "ok"})
|
aioclient_mock.post("http://127.0.0.1/homeassistant/options", json={"result": "ok"})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user