8000 fix!: update code and tests for pyjwt>=2.0.0 by karls · Pull Request #560 · twilio/twilio-python · GitHub
[go: up one dir, main page]

Skip to content

fix!: update code and tests for pyjwt>=2.0.0 #560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Sep 22, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Whitespace
  • Loading branch information
karls committed Feb 4, 2021
commit 0b9127a4587c9024f8b16e8002de7ec7f153ce4d
2 changes: 1 addition & 1 deletion tests/unit/jwt/test_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def assertJwtsEqual(self, jwt, key, expected_payload=None, expected_headers=None
expected_headers = expected_headers or {}
expected_payload = expected_payload or {}

decoded_payload = jwt_lib.decode(jwt, key, algorithms=["HS256"], options={"verify_signature":False})
decoded_payload = jwt_lib.decode(jwt, key, algorithms=["HS256"], options={"verify_signature": False})
decoded_headers = jwt_lib.get_unverified_header(jwt)

self.assertEqual(expected_headers, decoded_headers)
Expand Down
0