Fix formatting of mac addresses from dhcp discovery mocking in unifiprotect (#110610)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
2a04eabe18
commit
2fe246441f
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ from tests.common import MockConfigEntry
|
|||
DHCP_DISCOVERY = dhcp.DhcpServiceInfo(
|
||||
hostname=DEVICE_HOSTNAME,
|
||||
ip=DEVICE_IP_ADDRESS,
|
||||
macaddress=DEVICE_MAC_ADDRESS,
|
||||
macaddress=DEVICE_MAC_ADDRESS.lower().replace(":", ""),
|
||||
)
|
||||
SSDP_DISCOVERY = (
|
||||
ssdp.SsdpServiceInfo(
|
||||
|
|
Loading…
Add table
Reference in a new issue