Fix formatting of mac addresses from dhcp discovery mocking in radiotherm (#110593)

dhcp returns addresses in lowercase without :
This commit is contained in:
J. Nick Koston
2024-02-14 16:25:33 -06:00
committed by GitHub
parent 1f67e4fed1
commit 7b4c5a112c

View File

@@ -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()