jpadilla / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
http://jpadilla.github.io/django-rest-framework-jwt/
MIT License
3.19k stars 649 forks source link

tests: fix MockView #381

Closed blueyed closed 6 years ago

blueyed commented 6 years ago

It should use a (byte) string. Using a dict here results in the keys being used, but in an unpredictable order.