Skip to content

Commit

Permalink
Fix typo & improve formatting (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimnordling authored Nov 13, 2023
1 parent 2581bf8 commit 38418f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyjwt_key_fetcher/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def __init__(self, iss: str = "https://example.com", aud: str = "default_audienc
self.iss = iss
self.aud = aud
self.keys: List[RSAPrivateKeyWrapper] = []

self.generate_new_key()

def generate_new_key(self):
Expand Down
2 changes: 1 addition & 1 deletion pyjwt_key_fetcher/tests/test_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def test_fetching_after_issuing_new_key(create_provider_fetcher_and_client
# Let's simulate the cache expired
await pyjwt_key_fetcher.provider.Provider._fetch_jwk_map.cache.clear()

# Now the the new token can be verified
# Now the new token can be verified
key_entry_2 = await fetcher.get_key(token_2)
jwt.decode(token_2, audience=provider.aud, **key_entry_2)

Expand Down

0 comments on commit 38418f0

Please sign in to comment.