We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0d9c9b commit 859475bCopy full SHA for 859475b
tests/test_decode_tokens.py
@@ -151,6 +151,10 @@ def get_encode_key_1(identity):
151
with app.test_request_context():
152
token = create_access_token('username')
153
decode_token(token)
154
+ with pytest.raises(InvalidSignatureError):
155
+ with app.test_request_context():
156
+ token = create_refresh_token('username')
157
+ decode_token(token)
158
159
@jwtM.decode_key_loader
160
def get_decode_key_1(claims):
@@ -160,3 +164,5 @@ def get_decode_key_1(claims):
164
161
165
162
166
167
168
0 commit comments