Skip to content

Commit

Permalink
Fix token len test
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoCeratto committed Oct 5, 2023
1 parent 5e5154f commit c3537bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tests/integ/test_integration_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def _register_and_login(client, email_address):
assert url, msg
u = urlparse(url)
token = u.query.split("=")[1]
assert len(token) == 271
assert len(token) in (323, 335)

r = client.get(f"/api/v1/user_login?k={token}")
assert r.status_code == 200, r.json
Expand Down

0 comments on commit c3537bf

Please sign in to comment.