FIX/UPD: tests are OK with python3.

This commit is contained in:
2019-03-28 22:11:00 +01:00
parent 943285f1ed
commit 03bdc0f7c1
4 changed files with 7 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ class TemplatesTestCase(SimpleTestCase):
text = ugettext('Passwort vergessen?')
html = '<a href="{url}">{text}</a>'.format(url=reset_url, text=text)
response = self.client.get(login_url)
self.assertInHTML(html, response.content)
self.assertInHTML(html, response.content.decode('utf-8'))
@tag('browser')