Skip to content
Snippets Groups Projects
Commit c2e1cef5 authored by Matt Tuchfarber's avatar Matt Tuchfarber
Browse files

quality

parent 510f8774
No related merge requests found
......@@ -951,7 +951,7 @@ class UsernameReplacementViewTests(APITestCase):
Helper function for creating headers for the JWT authentication.
"""
token = create_jwt_for_user(user)
headers = {'HTTP_AUTHORIZATION': 'JWT {}'.format(token)}
headers = {'HTTP_AUTHORIZATION': u'JWT {}'.format(token)}
return headers
def call_api(self, user, data):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment