Fix iqvia test patching the wrong integration (#38847)

This commit is contained in:
J. Nick Koston 2020-08-13 11:47:18 -05:00 committed by GitHub
parent 18833d342e
commit ee64aafc39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,9 +47,7 @@ async def test_step_user(hass):
"""Test that the user step works (without MFA)."""
conf = {CONF_ZIP_CODE: "12345"}
with patch(
"homeassistant.components.simplisafe.async_setup_entry", return_value=True
):
with patch("homeassistant.components.iqvia.async_setup_entry", return_value=True):
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": SOURCE_USER}, data=conf
)