mirror of
https://github.com/home-assistant/core.git
synced 2026-11-06 05:32:45 -04:00
Fix error message strings for Todoist configuration flow (#102968)
* Fix error message strings for Todoist configuration flow * Update error code in test
This commit is contained in:
@@ -69,7 +69,7 @@ async def test_form_invalid_auth(hass: HomeAssistant) -> None:
|
||||
)
|
||||
|
||||
assert result2.get("type") == FlowResultType.FORM
|
||||
assert result2.get("errors") == {"base": "invalid_access_token"}
|
||||
assert result2.get("errors") == {"base": "invalid_api_key"}
|
||||
|
||||
|
||||
@pytest.mark.parametrize("todoist_api_status", [HTTPStatus.INTERNAL_SERVER_ERROR])
|
||||
|
||||
Reference in New Issue
Block a user