From 35bcf2e9e4f7c0b9a307a8c98961598fb55df398 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 14 Feb 2024 16:22:51 -0600 Subject: [PATCH] Fix formatting of mac addresses from dhcp discovery mocking in squeezebox (#110604) dhcp returns addresses in lowercase without : --- tests/components/squeezebox/test_config_flow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/components/squeezebox/test_config_flow.py b/tests/components/squeezebox/test_config_flow.py index 4c4b8ff7d9d..04d30cdd331 100644 --- a/tests/components/squeezebox/test_config_flow.py +++ b/tests/components/squeezebox/test_config_flow.py @@ -217,7 +217,7 @@ async def test_dhcp_discovery(hass: HomeAssistant) -> None: context={"source": config_entries.SOURCE_DHCP}, data=dhcp.DhcpServiceInfo( ip="1.1.1.1", - macaddress="AA:BB:CC:DD:EE:FF", + macaddress="aabbccddeeff", hostname="any", ), ) @@ -236,7 +236,7 @@ async def test_dhcp_discovery_no_server_found(hass: HomeAssistant) -> None: context={"source": config_entries.SOURCE_DHCP}, data=dhcp.DhcpServiceInfo( ip="1.1.1.1", - macaddress="AA:BB:CC:DD:EE:FF", + macaddress="aabbccddeeff", hostname="any", ), ) @@ -255,7 +255,7 @@ async def test_dhcp_discovery_existing_player(hass: HomeAssistant) -> None: context={"source": config_entries.SOURCE_DHCP}, data=dhcp.DhcpServiceInfo( ip="1.1.1.1", - macaddress="AA:BB:CC:DD:EE:FF", + macaddress="aabbccddeeff", hostname="any", ), )