Change 'forgot' to 'forgotten'

This commit is contained in:
karlchillmaid
2020-02-24 12:00:26 +00:00
committed by GitHub
parent a33892bded
commit 6c4013d207

View File

@@ -22,7 +22,7 @@ def test_render_sign_in_template_for_new_user(
assert page.select_one('#password')['autocomplete'] == 'current-password'
assert page.select('main a')[0].text == 'create one now'
assert page.select('main a')[0]['href'] == url_for('main.register')
assert page.select('main a')[1].text == 'Forgot your password?'
assert page.select('main a')[1].text == 'Forgotten your password?'
assert page.select('main a')[1]['href'] == url_for('main.forgot_password')
assert 'Sign in again' not in normalize_spaces(page.text)