Revert "Convert all links to govuk frontend"

This commit is contained in:
Tom Byers
2020-02-24 11:56:38 +00:00
committed by GitHub
parent ae1b2d4c63
commit 5b306dde4d
163 changed files with 548 additions and 521 deletions

View File

@@ -263,7 +263,7 @@ def test_non_gov_user_cannot_see_change_email_link(
):
client_request.login(api_nongov_user_active)
page = client_request.get('main.user_profile')
assert not page.find('a', {'href': url_for('main.user_profile_email')})
assert '<a href="/user-profile/email">' not in str(page)
assert page.select_one('h1').text.strip() == 'Your profile'