Skip to content

Commit 06d04c0

Browse files
authored
Use non-autospec mock for Reolink's host tests (#147619)
1 parent babecdf commit 06d04c0

File tree

2 files changed

+59
-86
lines changed

2 files changed

+59
-86
lines changed

tests/components/reolink/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def _init_host_mock(host_mock: MagicMock) -> None:
8181
host_mock.set_audio = AsyncMock()
8282
host_mock.set_email = AsyncMock()
8383
host_mock.ONVIF_event_callback = AsyncMock()
84+
host_mock.renew = AsyncMock()
8485
host_mock.is_nvr = True
8586
host_mock.is_hub = False
8687
host_mock.mac_address = TEST_MAC

0 commit comments

Comments
 (0)