Skip to content

Commit

Permalink
Another spelling error fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohe committed Jan 17, 2024
1 parent c498983 commit 627e078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_09_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class DummyMsg(object):
def __init__(self, **kwargs):
for key, val in kwargs.items():
setattr(self, key, val)
self.jws_headers = {}
self.jws_header = {}

def verify(self, **kwargs):
return True
Expand Down Expand Up @@ -331,4 +331,4 @@ def test_extra_headers():
bob = JWT(key_jar=_kj, iss=BOB, sign_alg="HS256", typ2msg_cls={"dummy": DummyMsg})
info = bob.unpack(_jwt)
assert isinstance(info, DummyMsg)
assert set(info.jws_headers.keys()) == {'xtra', 'typ', 'alg', 'kid'}
assert set(info.jws_header.keys()) == {'xtra', 'typ', 'alg', 'kid'}

0 comments on commit 627e078

Please sign in to comment.