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

Update ZeroconfServiceInfo in tests (a-f) (#60212)

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet
2021-11-23 16:32:58 +01:00
committed by GitHub
parent e615e70e49
commit 1d3fbc93a0
13 changed files with 239 additions and 46 deletions

View File

@@ -20,7 +20,19 @@ DISCOVERY_INFO = zeroconf.ZeroconfServiceInfo(
)
DISCOVERY_INFO_WRONG_DEVOLO_DEVICE = zeroconf.ZeroconfServiceInfo(
properties={"MT": "2700"}
host="mock_host",
hostname="mock_hostname",
name="mock_name",
port=None,
properties={"MT": "2700"},
type="mock_type",
)
DISCOVERY_INFO_WRONG_DEVICE = zeroconf.ZeroconfServiceInfo(properties={"Features": ""})
DISCOVERY_INFO_WRONG_DEVICE = zeroconf.ZeroconfServiceInfo(
host="mock_host",
hostname="mock_hostname",
name="mock_name",
port=None,
properties={"Features": ""},
type="mock_type",
)