Select correct Reolink device uid (#142864)

* Select correct device_uid

* Fix styling

* restructure

* Add test

* Update test_util.py

* Add explanation string
This commit is contained in:
starkillerOG
2025-04-14 20:12:34 +02:00
committed by GitHub
parent 870350b961
commit 40fd7cf852
4 changed files with 65 additions and 5 deletions

View File

@@ -77,6 +77,7 @@ def reolink_connect_class() -> Generator[MagicMock]:
host_mock.check_new_firmware.return_value = False
host_mock.unsubscribe.return_value = True
host_mock.logout.return_value = True
host_mock.is_nvr = True
host_mock.is_hub = False
host_mock.mac_address = TEST_MAC
host_mock.uid = TEST_UID