Skip to content

Commit a14965f

Browse files
authored
Fix incorrectly-named test suite function (#1116)
Closes #1102
1 parent d28dc35 commit a14965f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_api_jwt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def test_decode_raises_exception_if_nbf_is_not_int(self, jwt):
264264
with pytest.raises(DecodeError):
265265
jwt.decode(example_jwt, "secret", algorithms=["HS256"])
266266

267-
def test_decode_raises_exception_if_aud_is_none(self, jwt):
267+
def test_decode_allows_aud_to_be_none(self, jwt):
268268
# >>> jwt.encode({'aud': None}, 'secret')
269269
example_jwt = (
270270
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9."

0 commit comments

Comments
 (0)