Skip to content

Commit

Permalink
fix(test): Check for 403 Status code
Browse files Browse the repository at this point in the history
  • Loading branch information
resist15 committed Dec 24, 2024
1 parent 93fe5e5 commit 050e28a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def test_login_user(test_user, client):
('[email protected]', 'password123', 403),
('[email protected]', 'wrongpassword', 403),
('[email protected]', 'wrongpassword', 403),
(None, 'password123', 422),
('[email protected]', None, 422)
(None, 'password123', 403),
('[email protected]', None, 403)
])
def test_incorrect_login(test_user, client, email, password, status_code):
res = client.post(
Expand Down

0 comments on commit 050e28a

Please sign in to comment.