tests: disregard apostrophe char variations between dj versions (#64305)

This commit is contained in:
Paul Marillonnet 2022-04-25 12:17:49 +02:00
parent 66e8d63388
commit 8635dec7fa
1 changed files with 3 additions and 1 deletions

View File

@ -622,10 +622,12 @@ def test_registration_activate_passwords_not_equal(app, db, settings, mailoutbox
response = response.follow()
link = get_link_from_mail(mailoutbox[0])
response = app.get(link)
response.form.set('first_name', 'john')
response.form.set('last_name', 'doe')
response.form.set('password1', 'azerty12AZ')
response.form.set('password2', 'AAAazerty12AZ')
response = response.form.submit()
assert "The two password fields didn't match." in response.text
assert "The two password fields didn" in response.text
def test_authentication_method(app, db, rf, hooks):