Skip to content
Snippets Groups Projects
Commit 90b0130a authored by aarif's avatar aarif
Browse files

python 3 fixes

parent 0125bd40
No related merge requests found
......@@ -479,7 +479,7 @@ class EmailChangeConfirmationTests(EmailTestMixin, EmailTemplateTagMixin, CacheI
response = confirm_email_change(self.request, self.key)
self.assertEqual(response.status_code, 200)
self.assertEquals(
mock_render_to_response(expected_template, expected_context).content,
mock_render_to_response(expected_template, expected_context).content.decode('utf-8'),
response.content.decode('utf-8')
)
......
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