tests: disregard apostrophe char variations between dj versions (#64305)
This commit is contained in:
parent
66e8d63388
commit
8635dec7fa
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue