1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +00:00

Fix tests.

This commit is contained in:
grossmj 2021-04-28 15:56:11 +09:30
parent b1b3338e3c
commit ad7d8e2e7d
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
pydantic==1.8.1
uvicorn==0.13.4
fastapi==0.63.0
websockets==8.1

View File

@ -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(