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).""" """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
) )