Skip to content

Commit 15001ea

Browse files
authored
Merge pull request #81 from ashokdelphia/fix-broken-python-2.7-test
Fix broken test in Python 2.7 on master
2 parents c9878a5 + 8e8ffb6 commit 15001ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/views/test_authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test_valid_credentials_return_jwt_with_expected_claims(user, call_auth_endpo
116116
'user_id',
117117
'orig_iat',
118118
}
119-
assert payload.keys() == expected_claims
119+
assert set(payload.keys()) == expected_claims
120120

121121

122122
def test_valid_credentials_with_aud_and_iss_settings_return_jwt(

0 commit comments

Comments
 (0)