Commits

Anonymous committed e14545a
  • Participants
  • Parent commits bc8b333

Comments (0)

Files changed (1)

File tests/regressiontests/admin_views/tests.py

     def testCustomAdminSitePasswordChangeTemplate(self):
         request = self.client.get('/test_admin/admin2/password_change/')
         self.assertTemplateUsed(request, 'custom_admin/password_change_form.html')
-        self.assert_('Hello from a custom password change form template' in request.content)
+        self.assert_('Hello from a custom password change form template' in to_utf8_string(request.content))
 
     def testCustomAdminSitePasswordChangeDoneTemplate(self):
         request = self.client.get('/test_admin/admin2/password_change/done/')