Merge pull request #4170 from freqtrade/dependabot/pip/develop/pyjwt-2.0.0

Bump pyjwt from 1.7.1 to 2.0.0
This commit is contained in:
Matthias
2021-01-08 19:48:04 +01:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ def test_api_auth():
create_token({'identity': {'u': 'Freqtrade'}}, 'secret1234', token_type="NotATokenType")
token = create_token({'identity': {'u': 'Freqtrade'}}, 'secret1234')
assert isinstance(token, bytes)
assert isinstance(token, str)
u = get_user_from_token(token, 'secret1234')
assert u == 'Freqtrade'