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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue