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 intellifire (#110579)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
98263d7d76
commit
cd0ce7d9f6
@ -322,7 +322,7 @@ async def test_dhcp_discovery_intellifire_device(
|
||||
context={"source": config_entries.SOURCE_DHCP},
|
||||
data=dhcp.DhcpServiceInfo(
|
||||
ip="1.1.1.1",
|
||||
macaddress="AA:BB:CC:DD:EE:FF",
|
||||
macaddress="aabbcceeddff",
|
||||
hostname="zentrios-Test",
|
||||
),
|
||||
)
|
||||
@ -352,7 +352,7 @@ async def test_dhcp_discovery_non_intellifire_device(
|
||||
context={"source": config_entries.SOURCE_DHCP},
|
||||
data=dhcp.DhcpServiceInfo(
|
||||
ip="1.1.1.1",
|
||||
macaddress="AA:BB:CC:DD:EE:FF",
|
||||
macaddress="aabbcceeddff",
|
||||
hostname="zentrios-Evil",
|
||||
),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user