diff --git a/requirements.txt b/requirements.txt index b0e9c12f..904e7104 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -pydantic==1.8.1 uvicorn==0.13.4 fastapi==0.63.0 websockets==8.1 diff --git a/tests/api/routes/controller/test_users.py b/tests/api/routes/controller/test_users.py index 27c37b87..9fa94e74 100644 --- a/tests/api/routes/controller/test_users.py +++ b/tests/api/routes/controller/test_users.py @@ -235,7 +235,7 @@ class TestUserLogin: ( ("wrong_username", "user1_password", status.HTTP_401_UNAUTHORIZED), ("user1", "wrong_password", status.HTTP_401_UNAUTHORIZED), - ("user1", None, status.HTTP_401_UNAUTHORIZED), + ("user1", None, status.HTTP_422_UNPROCESSABLE_ENTITY), ), ) async def test_user_with_wrong_creds_doesnt_receive_token(