Skip to content

Commit a25afe2

Browse files
authored
Fix hassio test RuntimeWarning (#155787)
1 parent 4cdfa3b commit a25afe2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/components/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,7 @@ def supervisor_client() -> Generator[AsyncMock]:
547547
supervisor_client.homeassistant = AsyncMock()
548548
supervisor_client.host = AsyncMock()
549549
supervisor_client.jobs = AsyncMock()
550+
supervisor_client.jobs.info.return_value = MagicMock()
550551
supervisor_client.mounts.info.return_value = mounts_info_mock
551552
supervisor_client.os = AsyncMock()
552553
supervisor_client.resolution = AsyncMock()

0 commit comments

Comments
 (0)