tests: attempt to fix the token creation audience assertion

This commit is contained in:
Éloi Rivard 2024-12-10 08:12:13 +01:00
parent 2aeeaec3e4
commit bbacb1703c
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184

View file

@ -304,7 +304,7 @@ def test_client_new_token(testclient, logged_admin, backend, client):
assert not token.subject
assert token.type == "access_token"
assert token.scope == client.scope
assert token.audience == client.audience
assert client in token.audience
res = res.follow()
assert res.template == "token_view.html"