Use non-autospec mock for Reolink's light tests (#147621)

This commit is contained in:
Abílio Costa
2025-06-26 20:05:23 +01:00
committed by GitHub
parent 06d04c001d
commit b3131355b0
2 changed files with 26 additions and 30 deletions

View File

@@ -81,6 +81,8 @@ def _init_host_mock(host_mock: MagicMock) -> None:
host_mock.set_audio = AsyncMock()
host_mock.set_email = AsyncMock()
host_mock.ONVIF_event_callback = AsyncMock()
host_mock.set_whiteled = AsyncMock()
host_mock.set_state_light = AsyncMock()
host_mock.renew = AsyncMock()
host_mock.is_nvr = True
host_mock.is_hub = False