mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 06:05:10 +02:00
Fix formatting of mac addresses from dhcp discovery mocking in radiotherm (#110593)
dhcp returns addresses in lowercase without :
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user