Support blocking trusted network from new ip (#44630)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
parent
e4a7692610
commit
38d2cacf7a
21 changed files with 381 additions and 131 deletions
|
@ -131,7 +131,7 @@ async def test_login(hass):
|
|||
result["flow_id"], {"pin": "123456"}
|
||||
)
|
||||
assert result["type"] == data_entry_flow.RESULT_TYPE_CREATE_ENTRY
|
||||
assert result["data"].id == "mock-user"
|
||||
assert result["data"].id == "mock-id"
|
||||
|
||||
|
||||
async def test_setup_flow(hass):
|
||||
|
|
|
@ -229,7 +229,7 @@ async def test_login_flow_validates_mfa(hass):
|
|||
result["flow_id"], {"code": MOCK_CODE}
|
||||
)
|
||||
assert result["type"] == data_entry_flow.RESULT_TYPE_CREATE_ENTRY
|
||||
assert result["data"].id == "mock-user"
|
||||
assert result["data"].id == "mock-id"
|
||||
|
||||
|
||||
async def test_setup_user_notify_service(hass):
|
||||
|
|
|
@ -127,7 +127,7 @@ async def test_login_flow_validates_mfa(hass):
|
|||
result["flow_id"], {"code": MOCK_CODE}
|
||||
)
|
||||
assert result["type"] == data_entry_flow.RESULT_TYPE_CREATE_ENTRY
|
||||
assert result["data"].id == "mock-user"
|
||||
assert result["data"].id == "mock-id"
|
||||
|
||||
|
||||
async def test_race_condition_in_data_loading(hass):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue