mirror of
https://github.com/home-assistant/core.git
synced 2025-09-13 16:51:37 +02:00
Use correctly formatted MAC in palazzetti tests (#147875)
This commit is contained in:
@@ -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},
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user