mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix missing patch in nextdns tests (#125195)
This commit is contained in:
parent
7788685340
commit
482bed522f
@ -12,7 +12,7 @@ from homeassistant.const import CONF_API_KEY, CONF_PROFILE_NAME
|
|||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
from homeassistant.data_entry_flow import FlowResultType
|
from homeassistant.data_entry_flow import FlowResultType
|
||||||
|
|
||||||
from . import PROFILES, init_integration
|
from . import PROFILES, init_integration, mock_nextdns
|
||||||
|
|
||||||
|
|
||||||
async def test_form_create_entry(hass: HomeAssistant) -> None:
|
async def test_form_create_entry(hass: HomeAssistant) -> None:
|
||||||
@ -116,6 +116,7 @@ async def test_reauth_successful(hass: HomeAssistant) -> None:
|
|||||||
"homeassistant.components.nextdns.NextDns.get_profiles",
|
"homeassistant.components.nextdns.NextDns.get_profiles",
|
||||||
return_value=PROFILES,
|
return_value=PROFILES,
|
||||||
),
|
),
|
||||||
|
mock_nextdns(),
|
||||||
):
|
):
|
||||||
result = await hass.config_entries.flow.async_configure(
|
result = await hass.config_entries.flow.async_configure(
|
||||||
result["flow_id"],
|
result["flow_id"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user