Upgrade zeroconf to 0.27.1 (#36277)

This commit is contained in:
J. Nick Koston
2020-06-05 14:34:06 -07:00
committed by Paulus Schoutsen
parent 0840092b29
commit ca511cb06c
10 changed files with 13 additions and 7 deletions
+2 -2
View File
@@ -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,
+3 -1
View File
@@ -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(