-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #145: handle error when attempting to log in with a non-existing …
…user
- Loading branch information
1 parent
20f59a8
commit 5c0c0df
Showing
3 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -207,6 +207,12 @@ def fixture_register_user_2( | |
return response | ||
|
||
|
||
@pytest.fixture() | ||
def non_existing_user_credentials() -> dict: | ||
"""Retorna pseudo credenciais de um usuário não existente.""" | ||
return {"email": "[email protected]", "password": "inexistente"} | ||
|
||
|
||
@pytest.fixture() | ||
def disabled_user_1( | ||
header_admin: dict, # pylint: disable=unused-argument | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters