mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix formatting of mac addresses from dhcp discovery mocking in somfy_mylink (#110603)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
35bcf2e9e4
commit
9105dd16e3
@ -254,7 +254,7 @@ async def test_form_user_already_configured_from_dhcp(hass: HomeAssistant) -> No
|
||||
context={"source": config_entries.SOURCE_DHCP},
|
||||
data=dhcp.DhcpServiceInfo(
|
||||
ip="1.1.1.1",
|
||||
macaddress="AA:BB:CC:DD:EE:FF",
|
||||
macaddress="aabbccddeeff",
|
||||
hostname="somfy_eeff",
|
||||
),
|
||||
)
|
||||
@ -278,7 +278,7 @@ async def test_already_configured_with_ignored(hass: HomeAssistant) -> None:
|
||||
context={"source": config_entries.SOURCE_DHCP},
|
||||
data=dhcp.DhcpServiceInfo(
|
||||
ip="1.1.1.1",
|
||||
macaddress="AA:BB:CC:DD:EE:FF",
|
||||
macaddress="aabbccddeeff",
|
||||
hostname="somfy_eeff",
|
||||
),
|
||||
)
|
||||
@ -293,7 +293,7 @@ async def test_dhcp_discovery(hass: HomeAssistant) -> None:
|
||||
context={"source": config_entries.SOURCE_DHCP},
|
||||
data=dhcp.DhcpServiceInfo(
|
||||
ip="1.1.1.1",
|
||||
macaddress="AA:BB:CC:DD:EE:FF",
|
||||
macaddress="aabbccddeeff",
|
||||
hostname="somfy_eeff",
|
||||
),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user