Finalise wording

Main changes are to better differentiate between the data sharing and
financial agreement and the terms of use.
This commit is contained in:
Chris Hill-Scott
2018-03-12 15:13:52 +00:00
parent 1ce4c874ad
commit 59f9fe7df1
2 changed files with 41 additions and 28 deletions

View File

@@ -96,11 +96,9 @@ def test_terms_is_generic_if_user_is_not_logged_in(
assert response.status_code == 200
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
assert normalize_spaces(page.select('main p')[2].text) == (
'For your service to go live on Notify, your organisation must accept our data sharing and financial agreement.'
)
assert normalize_spaces(page.select('main p')[3].text) == (
'Contact us to get a copy of the agreement or find out if your organisation has already accepted it.'
assert normalize_spaces(page.select('main p')[1].text) == (
'Your organisation must also accept our data sharing and '
'financial agreement. Contact us to get a copy.'
)
@@ -112,11 +110,19 @@ def test_terms_is_generic_if_user_is_not_logged_in(
'the GOV.UK Notify data sharing and financial agreement.'
),
),
(
'test@aylesburytowncouncil.gov.uk',
(
'Your organisation (Aylesbury Town Council) must also '
'accept our data sharing and financial agreement. Contact '
'us to get a copy.'
),
),
(
'larry@downing-street.gov.uk',
(
'For your service to go live on Notify, your organisation '
'must accept our data sharing and financial agreement.'
'Your organisation must also accept our data sharing and '
'financial agreement. Contact us to get a copy.'
),
),
])
@@ -131,4 +137,4 @@ def test_terms_tells_logged_in_users_what_we_know_about_their_agreement(
user.email_address = email_address
mocker.patch('app.user_api_client.get_user', return_value=user)
page = client_request.get('main.terms')
assert normalize_spaces(page.select('main p')[2].text) == expected_first_paragraph
assert normalize_spaces(page.select('main p')[1].text) == expected_first_paragraph