mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix formatting of mac addresses from dhcp discovery mocking in radiotherm (#110593)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
1f67e4fed1
commit
7b4c5a112c
@ -111,7 +111,7 @@ async def test_dhcp_can_confirm(hass: HomeAssistant) -> None:
|
|||||||
data=dhcp.DhcpServiceInfo(
|
data=dhcp.DhcpServiceInfo(
|
||||||
hostname="radiotherm",
|
hostname="radiotherm",
|
||||||
ip="1.2.3.4",
|
ip="1.2.3.4",
|
||||||
macaddress="aa:bb:cc:dd:ee:ff",
|
macaddress="aabbccddeeff",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
@ -155,7 +155,7 @@ async def test_dhcp_fails_to_connect(hass: HomeAssistant) -> None:
|
|||||||
data=dhcp.DhcpServiceInfo(
|
data=dhcp.DhcpServiceInfo(
|
||||||
hostname="radiotherm",
|
hostname="radiotherm",
|
||||||
ip="1.2.3.4",
|
ip="1.2.3.4",
|
||||||
macaddress="aa:bb:cc:dd:ee:ff",
|
macaddress="aabbccddeeff",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
@ -184,7 +184,7 @@ async def test_dhcp_already_exists(hass: HomeAssistant) -> None:
|
|||||||
data=dhcp.DhcpServiceInfo(
|
data=dhcp.DhcpServiceInfo(
|
||||||
hostname="radiotherm",
|
hostname="radiotherm",
|
||||||
ip="1.2.3.4",
|
ip="1.2.3.4",
|
||||||
macaddress="aa:bb:cc:dd:ee:ff",
|
macaddress="aabbccddeeff",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user