Use correctly formatted MAC in palazzetti tests (#147875)

This commit is contained in:
epenet 2025-07-01 14:40:27 +02:00 committed by GitHub
parent c5873c6dd0
commit 4ebffa8d23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,7 +102,7 @@ async def test_dhcp_flow(
result = await hass.config_entries.flow.async_init( result = await hass.config_entries.flow.async_init(
DOMAIN, DOMAIN,
data=DhcpServiceInfo( data=DhcpServiceInfo(
hostname="connbox1234", ip="192.168.1.1", macaddress="11:22:33:44:55:66" hostname="connbox1234", ip="192.168.1.1", macaddress="112233445566"
), ),
context={"source": SOURCE_DHCP}, context={"source": SOURCE_DHCP},
) )
@ -131,7 +131,7 @@ async def test_dhcp_flow_error(
result = await hass.config_entries.flow.async_init( result = await hass.config_entries.flow.async_init(
DOMAIN, DOMAIN,
data=DhcpServiceInfo( data=DhcpServiceInfo(
hostname="connbox1234", ip="192.168.1.1", macaddress="11:22:33:44:55:66" hostname="connbox1234", ip="192.168.1.1", macaddress="112233445566"
), ),
context={"source": SOURCE_DHCP}, context={"source": SOURCE_DHCP},
) )