Add missing method mock to Reolink chime test (#147447)

This commit is contained in:
Abílio Costa
2025-06-24 19:06:54 +01:00
committed by GitHub
parent 3148719864
commit e8a534be9c
2 changed files with 9 additions and 4 deletions

View File

@@ -274,6 +274,7 @@ def reolink_chime(reolink_host: MagicMock) -> None:
"people": {"switch": 0, "musicId": 1},
"visitor": {"switch": 1, "musicId": 2},
}
TEST_CHIME.remove = AsyncMock()
reolink_host.chime_list = [TEST_CHIME]
reolink_host.chime.return_value = TEST_CHIME