Fix flakey reolink test (#140877)

This commit is contained in:
starkillerOG
2025-03-18 16:38:34 +01:00
committed by GitHub
parent e2460a4393
commit 4564d2537b

View File

@@ -141,6 +141,7 @@ def reolink_connect_class() -> Generator[MagicMock]:
host_mock.baichuan.port = TEST_BC_PORT
host_mock.baichuan.events_active = False
host_mock.baichuan.privacy_mode.return_value = False
host_mock.baichuan.day_night_state.return_value = "day"
host_mock.baichuan.subscribe_events.side_effect = ReolinkError("Test error")
host_mock.baichuan.abilities = {
0: {"chnID": 0, "aitype": 34615},