Use non-autospec mock for Reolink's util and view tests (#148579)

This commit is contained in:
Abílio Costa
2025-07-11 15:27:06 +01:00
committed by GitHub
parent a34264f345
commit d393d5fdbb
3 changed files with 18 additions and 19 deletions

View File

@@ -84,6 +84,8 @@ def _init_host_mock(host_mock: MagicMock) -> None:
host_mock.set_whiteled = AsyncMock()
host_mock.set_state_light = AsyncMock()
host_mock.renew = AsyncMock()
host_mock.get_vod_source = AsyncMock()
host_mock.expire_session = AsyncMock()
host_mock.is_nvr = True
host_mock.is_hub = False
host_mock.mac_address = TEST_MAC