diff options
Diffstat (limited to 'tests/test_api_jwt.py')
-rw-r--r-- | tests/test_api_jwt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_api_jwt.py b/tests/test_api_jwt.py index bc9bda8..61de6e0 100644 --- a/tests/test_api_jwt.py +++ b/tests/test_api_jwt.py @@ -142,7 +142,7 @@ class TestJWT: 'eyJpYXQiOiJub3QtYW4taW50In0.' 'H1GmcQgSySa5LOKYbzGm--b1OmRbHFkyk8pq811FzZM') - with pytest.raises(DecodeError): + with pytest.raises(InvalidIssuedAtError): jwt.decode(example_jwt, 'secret') def test_decode_raises_exception_if_nbf_is_not_int(self, jwt): |