From 7b4c5a112cf26adf3cdd215f1dcc0270e6fcfaad Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 14 Feb 2024 16:25:33 -0600 Subject: [PATCH] Fix formatting of mac addresses from dhcp discovery mocking in radiotherm (#110593) dhcp returns addresses in lowercase without : --- tests/components/radiotherm/test_config_flow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/components/radiotherm/test_config_flow.py b/tests/components/radiotherm/test_config_flow.py index 5625a50a4c0..8da7c850aa5 100644 --- a/tests/components/radiotherm/test_config_flow.py +++ b/tests/components/radiotherm/test_config_flow.py @@ -111,7 +111,7 @@ async def test_dhcp_can_confirm(hass: HomeAssistant) -> None: data=dhcp.DhcpServiceInfo( hostname="radiotherm", ip="1.2.3.4", - macaddress="aa:bb:cc:dd:ee:ff", + macaddress="aabbccddeeff", ), ) await hass.async_block_till_done() @@ -155,7 +155,7 @@ async def test_dhcp_fails_to_connect(hass: HomeAssistant) -> None: data=dhcp.DhcpServiceInfo( hostname="radiotherm", ip="1.2.3.4", - macaddress="aa:bb:cc:dd:ee:ff", + macaddress="aabbccddeeff", ), ) await hass.async_block_till_done() @@ -184,7 +184,7 @@ async def test_dhcp_already_exists(hass: HomeAssistant) -> None: data=dhcp.DhcpServiceInfo( hostname="radiotherm", ip="1.2.3.4", - macaddress="aa:bb:cc:dd:ee:ff", + macaddress="aabbccddeeff", ), ) await hass.async_block_till_done()