mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 00:38:10 +00:00
Fix tests.
This commit is contained in:
parent
b1b3338e3c
commit
ad7d8e2e7d
@ -1,4 +1,3 @@
|
|||||||
pydantic==1.8.1
|
|
||||||
uvicorn==0.13.4
|
uvicorn==0.13.4
|
||||||
fastapi==0.63.0
|
fastapi==0.63.0
|
||||||
websockets==8.1
|
websockets==8.1
|
||||||
|
@ -235,7 +235,7 @@ class TestUserLogin:
|
|||||||
(
|
(
|
||||||
("wrong_username", "user1_password", status.HTTP_401_UNAUTHORIZED),
|
("wrong_username", "user1_password", status.HTTP_401_UNAUTHORIZED),
|
||||||
("user1", "wrong_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(
|
async def test_user_with_wrong_creds_doesnt_receive_token(
|
||||||
|
Loading…
Reference in New Issue
Block a user