Fix warnings in Reolink tests (#140878)

This commit is contained in:
starkillerOG 2025-03-18 16:47:33 +01:00 committed by GitHub
parent 11e02f89cf
commit f8ab4d0238
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -134,6 +134,8 @@ def reolink_connect_class() -> Generator[MagicMock]:
host_mock.doorbell_led_list.return_value = ["stayoff", "auto"]
host_mock.auto_track_method.return_value = 3
host_mock.daynight_state.return_value = "Black&White"
host_mock.hub_alarm_tone_id.return_value = 1
host_mock.hub_visitor_tone_id.return_value = 1
# Baichuan
host_mock.baichuan = create_autospec(Baichuan)