From 9aa8ff76447bfb5702d26d0d1f04bcc1d196b7ce Mon Sep 17 00:00:00 2001 From: Jakub Miazek Date: Fri, 15 Sep 2023 12:45:41 +0200 Subject: [PATCH] fix test --- tests/api/test_auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api/test_auth.py b/tests/api/test_auth.py index 5b0d868..7d22d78 100644 --- a/tests/api/test_auth.py +++ b/tests/api/test_auth.py @@ -14,7 +14,7 @@ async def test_add_user(client: AsyncClient): claimset = jwt.decode(response.json()["access_token"], options={"verify_signature": False}) assert claimset["email"] == payload["email"] assert claimset["expiry"] > 0 - assert claimset["platform"] == "python-httpx/0.24.1" + assert claimset["platform"] == "python-httpx/0.25.0" # TODO: parametrize test with diff urls including 404 and 401 @@ -25,7 +25,7 @@ async def test_get_token(client: AsyncClient): claimset = jwt.decode(response.json()["access_token"], options={"verify_signature": False}) assert claimset["email"] == payload["email"] assert claimset["expiry"] > 0 - assert claimset["platform"] == "python-httpx/0.24.1" + assert claimset["platform"] == "python-httpx/0.25.0" # TODO: baerer token test