Skip to content

Commit

Permalink
Review: @MartinHjelmare Test config flow with all steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentame committed Dec 6, 2019
1 parent 904a4d5 commit fc02053
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/components/icloud/test_config_flow.py
Expand Up @@ -269,6 +269,7 @@ async def test_abort_on_send_verification_code_failed(
async def test_verification_code(hass: HomeAssistantType):
"""Test verification_code step."""
flow = init_config_flow(hass)
await flow.async_step_user({CONF_USERNAME: USERNAME, CONF_PASSWORD: PASSWORD})

result = await flow.async_step_verification_code()
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
Expand Down

0 comments on commit fc02053

Please sign in to comment.