mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 11:29:28 +02:00
Blacked the code
This commit is contained in:
parent
b6fc0051fa
commit
62ca3bd736
279 changed files with 8861 additions and 9527 deletions
|
@ -6,8 +6,9 @@ from rest_framework_jwt.settings import api_settings
|
|||
|
||||
from funkwhale_api.users.models import User
|
||||
|
||||
|
||||
def test_can_invalidate_token_when_changing_user_secret_key(factories):
|
||||
user = factories['users.User']()
|
||||
user = factories["users.User"]()
|
||||
u1 = user.secret_key
|
||||
jwt_payload_handler = api_settings.JWT_PAYLOAD_HANDLER
|
||||
jwt_encode_handler = api_settings.JWT_ENCODE_HANDLER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue