Fix formatting of mac addresses from dhcp discovery mocking in twinkly (#110609)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
2fe246441f
commit
77a44c54dd
1 changed files with 3 additions and 3 deletions
|
@ -76,7 +76,7 @@ async def test_dhcp_can_confirm(hass: HomeAssistant) -> None:
|
|||
data=dhcp.DhcpServiceInfo(
|
||||
hostname="Twinkly_XYZ",
|
||||
ip="1.2.3.4",
|
||||
macaddress="aa:bb:cc:dd:ee:ff",
|
||||
macaddress="aabbccddeeff",
|
||||
),
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
|
@ -97,7 +97,7 @@ async def test_dhcp_success(hass: HomeAssistant) -> None:
|
|||
data=dhcp.DhcpServiceInfo(
|
||||
hostname="Twinkly_XYZ",
|
||||
ip="1.2.3.4",
|
||||
macaddress="aa:bb:cc:dd:ee:ff",
|
||||
macaddress="aabbccddeeff",
|
||||
),
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
|
@ -142,7 +142,7 @@ async def test_dhcp_already_exists(hass: HomeAssistant) -> None:
|
|||
data=dhcp.DhcpServiceInfo(
|
||||
hostname="Twinkly_XYZ",
|
||||
ip="1.2.3.4",
|
||||
macaddress="aa:bb:cc:dd:ee:ff",
|
||||
macaddress="aabbccddeeff",
|
||||
),
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
|
|
Loading…
Add table
Reference in a new issue