Skip to content

Commit

Permalink
UPDATE: test
Browse files Browse the repository at this point in the history
Co-authored-by: andregroseth <[email protected]>
Co-authored-by: erikvatt <[email protected]>
  • Loading branch information
3 people committed Jan 27, 2021
1 parent 1a9bec5 commit cc50eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_create_token(self):
secret = "Whabadubaduppdupp"
token = create_token(secret)
print("Token: %s" % token)
decoded_token = jwt.decode(token, secret, algorithm='HS256')
decoded_token = jwt.decode(token, secret, algorithms=['HS256'])
print("Token: %s" % decoded_token)
self.assertEqual(decoded_token.get("iss"), 'local')

Expand Down

0 comments on commit cc50eb8

Please sign in to comment.