1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-02 00:20:30 +01:00

Fix patching for DNS queries in Obihai (#166790)

This commit is contained in:
Simone Chemelli
2026-04-01 14:41:39 +02:00
committed by GitHub
parent fa7576dc5a
commit 2e2ad0aaec

View File

@@ -144,7 +144,10 @@ async def test_dhcp_flow_auth_failure(hass: HomeAssistant) -> None:
== DHCP_SERVICE_INFO.ip
)
# patch_gethostbyname fixture is active
with (
patch("homeassistant.components.obihai.config_flow.gethostbyname"),
):
# Verify we get dropped into the normal user flow with non-default credentials
result = await hass.config_entries.flow.async_configure(
result["flow_id"],
user_input={