mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Fix formatting of mac addresses from dhcp discovery mocking in insteon (#110578)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
bba19a5bab
commit
88fce6a76d
@ -229,7 +229,7 @@ async def test_form_select_hub_v2(hass: HomeAssistant) -> None:
|
|||||||
|
|
||||||
async def test_form_discovery_dhcp(hass: HomeAssistant) -> None:
|
async def test_form_discovery_dhcp(hass: HomeAssistant) -> None:
|
||||||
"""Test the discovery of the Hub via DHCP."""
|
"""Test the discovery of the Hub via DHCP."""
|
||||||
discovery_info = dhcp.DhcpServiceInfo("1.2.3.4", "", "aa:bb:cc:dd:ee:ff")
|
discovery_info = dhcp.DhcpServiceInfo("1.2.3.4", "", "aabbccddeeff")
|
||||||
result = await hass.config_entries.flow.async_init(
|
result = await hass.config_entries.flow.async_init(
|
||||||
DOMAIN, context={"source": config_entries.SOURCE_DHCP}, data=discovery_info
|
DOMAIN, context={"source": config_entries.SOURCE_DHCP}, data=discovery_info
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user