We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00fe2da commit 4a6d73bCopy full SHA for 4a6d73b
tests/unit/test_auth_jwt.py
@@ -40,13 +40,13 @@
40
delta = timedelta(seconds=-11)
41
42
GOOD_AUTH = "Bearer " + encode({'email': FAKE_EMAIL, 'exp': EXP},
43
- SECRET_KEY, algorithm='RS256').decode('utf-8')
+ SECRET_KEY, algorithm='RS256')
44
BAD_AUTH = "Bearer " + encode({'email': FAKE_EMAIL, 'exp': EXP},
45
- BOGUS_KEY, algorithm='RS256').decode('utf-8')
+ BOGUS_KEY, algorithm='RS256')
46
EXP_AUTH = "Bearer " + encode({'email': FAKE_EMAIL, 'exp': EXP + delta},
47
48
NO_EXP_AUTH = "Bearer " + encode({'email': FAKE_EMAIL},
49
50
51
52
def create_fake_key(session, **kwargs):
0 commit comments