Skip to content

Commit f67c11f

Browse files
committed
fix tests
1 parent c038002 commit f67c11f

File tree

3 files changed

+182
-3
lines changed

3 files changed

+182
-3
lines changed

poetry.lock

Lines changed: 177 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ rich = "13.7.1"
2424
pyjwt = {version = "2.8.0", extras = ["cryptography"]}
2525
redis = "5.0.3"
2626
passlib = {version = "^1.7.4", extras = ["bcrypt"]}
27+
polars = "^0.20.14"
28+
python-multipart = "^0.0.9"
29+
fastexcel = "^0.9.1"
2730

2831
[tool.poetry.dev-dependencies]
2932
devtools = { extras = ["pygments"], version = "*" }

tests/api/test_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async def test_add_user(client: AsyncClient):
1414
claimset = jwt.decode(response.json()["access_token"], options={"verify_signature": False})
1515
assert claimset["email"] == payload["email"]
1616
assert claimset["expiry"] > 0
17-
assert claimset["platform"] == "python-httpx/0.26.0"
17+
assert claimset["platform"] == "python-httpx/0.27.0"
1818

1919

2020
# TODO: parametrize test with diff urls including 404 and 401
@@ -25,7 +25,7 @@ async def test_get_token(client: AsyncClient):
2525
claimset = jwt.decode(response.json()["access_token"], options={"verify_signature": False})
2626
assert claimset["email"] == payload["email"]
2727
assert claimset["expiry"] > 0
28-
assert claimset["platform"] == "python-httpx/0.26.0"
28+
assert claimset["platform"] == "python-httpx/0.27.0"
2929

3030

3131
# TODO: baerer token test

0 commit comments

Comments
 (0)