Skip to content
Snippets Groups Projects
Unverified Commit 3a57f436 authored by Franck Nijhof's avatar Franck Nijhof Committed by GitHub
Browse files

Revert "Patch out life360 entry setup in tests" (#74223)

Revert "Patch out life360 entry setup in tests (#74212)"

This reverts commit ab6e92f9.
parent 42d7f2a3
No related branches found
No related tags found
No related merge requests found
...@@ -118,7 +118,7 @@ async def test_user_show_form(hass, life360_api): ...@@ -118,7 +118,7 @@ async def test_user_show_form(hass, life360_api):
assert keys[keys.index(key)].default == vol.UNDEFINED assert keys[keys.index(key)].default == vol.UNDEFINED
async def test_user_config_flow_success(hass, life360_api, life360): async def test_user_config_flow_success(hass, life360_api):
"""Test a successful user config flow.""" """Test a successful user config flow."""
result = await hass.config_entries.flow.async_init( result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER} DOMAIN, context={"source": config_entries.SOURCE_USER}
...@@ -228,7 +228,7 @@ async def test_reauth_config_flow_success(hass, life360_api, caplog, state): ...@@ -228,7 +228,7 @@ async def test_reauth_config_flow_success(hass, life360_api, caplog, state):
assert config_entry.data == TEST_CONFIG_DATA_2 assert config_entry.data == TEST_CONFIG_DATA_2
async def test_reauth_config_flow_login_error(hass, life360_api, life360, caplog): async def test_reauth_config_flow_login_error(hass, life360_api, caplog):
"""Test a reauthorization config flow with a login error.""" """Test a reauthorization config flow with a login error."""
config_entry = create_config_entry(hass) config_entry = create_config_entry(hass)
...@@ -285,7 +285,7 @@ async def test_reauth_config_flow_login_error(hass, life360_api, life360, caplog ...@@ -285,7 +285,7 @@ async def test_reauth_config_flow_login_error(hass, life360_api, life360, caplog
# ========== Option flow Tests ========================================================= # ========== Option flow Tests =========================================================
async def test_options_flow(hass, life360): async def test_options_flow(hass):
"""Test an options flow.""" """Test an options flow."""
config_entry = create_config_entry(hass) config_entry = create_config_entry(hass)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment