mirror of
https://github.com/elisspace/core.git
synced 2026-09-18 00:36:38 +00:00
Upgrade zeroconf to 0.27.1 (#36277)
This commit is contained in:
committed by
Paulus Schoutsen
parent
0840092b29
commit
ca511cb06c
@@ -40,7 +40,7 @@ def get_service_info_mock(service_type, name):
|
||||
return ServiceInfo(
|
||||
service_type,
|
||||
name,
|
||||
address=b"\n\x00\x00\x14",
|
||||
addresses=[b"\n\x00\x00\x14"],
|
||||
port=80,
|
||||
weight=0,
|
||||
priority=0,
|
||||
@@ -56,7 +56,7 @@ def get_homekit_info_mock(model, pairing_status):
|
||||
return ServiceInfo(
|
||||
service_type,
|
||||
name,
|
||||
address=b"\n\x00\x00\x14",
|
||||
addresses=[b"\n\x00\x00\x14"],
|
||||
port=80,
|
||||
weight=0,
|
||||
priority=0,
|
||||
|
||||
@@ -221,8 +221,10 @@ async def test_discovery_requirements_ssdp(hass):
|
||||
) as mock_process:
|
||||
await async_get_integration_with_requirements(hass, "ssdp_comp")
|
||||
|
||||
assert len(mock_process.mock_calls) == 1
|
||||
assert len(mock_process.mock_calls) == 3
|
||||
assert mock_process.mock_calls[0][1][2] == ssdp.requirements
|
||||
# Ensure zeroconf is a dep for ssdp
|
||||
assert mock_process.mock_calls[1][1][1] == "zeroconf"
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
Reference in New Issue
Block a user