1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Update ONVIF to Zeep 4.0/httpx (#42020)

* convert to httpx and zeep 4.0

* fix tests

* add onvif-zeep-async to manifest

* pin zeep to fool CI cache

* address review comments
This commit is contained in:
Jason Hunter
2020-10-18 23:29:53 -04:00
committed by GitHub
parent 304b9f47b4
commit 5a397312e7
9 changed files with 65 additions and 97 deletions

View File

@@ -69,6 +69,7 @@ def setup_mock_onvif_camera(
mock_onvif_camera.update_xaddrs = AsyncMock(return_value=True)
mock_onvif_camera.create_devicemgmt_service = MagicMock(return_value=devicemgmt)
mock_onvif_camera.create_media_service = MagicMock(return_value=media_service)
mock_onvif_camera.close = AsyncMock(return_value=None)
def mock_constructor(
host,