mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix iqvia test patching the wrong integration (#38847)
This commit is contained in:
parent
18833d342e
commit
ee64aafc39
@ -47,9 +47,7 @@ async def test_step_user(hass):
|
|||||||
"""Test that the user step works (without MFA)."""
|
"""Test that the user step works (without MFA)."""
|
||||||
conf = {CONF_ZIP_CODE: "12345"}
|
conf = {CONF_ZIP_CODE: "12345"}
|
||||||
|
|
||||||
with patch(
|
with patch("homeassistant.components.iqvia.async_setup_entry", return_value=True):
|
||||||
"homeassistant.components.simplisafe.async_setup_entry", return_value=True
|
|
||||||
):
|
|
||||||
result = await hass.config_entries.flow.async_init(
|
result = await hass.config_entries.flow.async_init(
|
||||||
DOMAIN, context={"source": SOURCE_USER}, data=conf
|
DOMAIN, context={"source": SOURCE_USER}, data=conf
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user