mirror of
https://github.com/home-assistant/core.git
synced 2025-09-13 08:41:32 +02:00
Use correctly formatted MAC in dlink tests (#147871)
This commit is contained in:
@@ -162,7 +162,7 @@ async def test_dhcp_unique_id_assignment(
|
||||
"""Test dhcp initialized flow with no unique id for matching entry."""
|
||||
dhcp_data = DhcpServiceInfo(
|
||||
ip="2.3.4.5",
|
||||
macaddress="11:22:33:44:55:66",
|
||||
macaddress="112233445566",
|
||||
hostname="dsp-w215",
|
||||
)
|
||||
result = await hass.config_entries.flow.async_init(
|
||||
@@ -177,7 +177,7 @@ async def test_dhcp_unique_id_assignment(
|
||||
)
|
||||
assert result["type"] is FlowResultType.CREATE_ENTRY
|
||||
assert result["data"] == CONF_DATA | {CONF_HOST: "2.3.4.5"}
|
||||
assert result["result"].unique_id == "11:22:33:44:55:66"
|
||||
assert result["result"].unique_id == "112233445566"
|
||||
|
||||
|
||||
async def test_dhcp_changed_ip(
|
||||
|
Reference in New Issue
Block a user