Styria-Digital / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
https://styria-digital.github.io/django-rest-framework-jwt/
MIT License
191 stars 57 forks source link

Fix broken test in Python 2.7 on master #81

Closed ashokdelphia closed 3 years ago

ashokdelphia commented 3 years ago

Use a set for the comparison.

This shouldn't make a difference for current versions of Python, but in 2.7 this test is currently failing because it is comparing the list from .keys() to a set.

(I only noticed the broken test when I saw the broken test in the build for #78.)