Fix formatting of mac addresses from dhcp discovery mocking in squeezebox (#110604)
dhcp returns addresses in lowercase without :pull/110622/head
parent
d4562f4674
commit
35bcf2e9e4
|
@ -217,7 +217,7 @@ async def test_dhcp_discovery(hass: HomeAssistant) -> None:
|
||||||
context={"source": config_entries.SOURCE_DHCP},
|
context={"source": config_entries.SOURCE_DHCP},
|
||||||
data=dhcp.DhcpServiceInfo(
|
data=dhcp.DhcpServiceInfo(
|
||||||
ip="1.1.1.1",
|
ip="1.1.1.1",
|
||||||
macaddress="AA:BB:CC:DD:EE:FF",
|
macaddress="aabbccddeeff",
|
||||||
hostname="any",
|
hostname="any",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
@ -236,7 +236,7 @@ async def test_dhcp_discovery_no_server_found(hass: HomeAssistant) -> None:
|
||||||
context={"source": config_entries.SOURCE_DHCP},
|
context={"source": config_entries.SOURCE_DHCP},
|
||||||
data=dhcp.DhcpServiceInfo(
|
data=dhcp.DhcpServiceInfo(
|
||||||
ip="1.1.1.1",
|
ip="1.1.1.1",
|
||||||
macaddress="AA:BB:CC:DD:EE:FF",
|
macaddress="aabbccddeeff",
|
||||||
hostname="any",
|
hostname="any",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
@ -255,7 +255,7 @@ async def test_dhcp_discovery_existing_player(hass: HomeAssistant) -> None:
|
||||||
context={"source": config_entries.SOURCE_DHCP},
|
context={"source": config_entries.SOURCE_DHCP},
|
||||||
data=dhcp.DhcpServiceInfo(
|
data=dhcp.DhcpServiceInfo(
|
||||||
ip="1.1.1.1",
|
ip="1.1.1.1",
|
||||||
macaddress="AA:BB:CC:DD:EE:FF",
|
macaddress="aabbccddeeff",
|
||||||
hostname="any",
|
hostname="any",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue