python3: use DjangoWebtestResponse.text in test_change_email
This commit is contained in:
parent
a527949280
commit
67ab518726
|
@ -60,4 +60,4 @@ def test_change_email_is_unique_after_first_view(app, settings, simple_user, use
|
|||
# email change is impossible as email is already taken
|
||||
link = utils.get_link_from_mail(email)
|
||||
response = app.get(link).follow()
|
||||
assert 'is already used by another account' in response.content
|
||||
assert 'is already used by another account' in response.text
|
||||
|
|
Loading…
Reference in New Issue