Merge pull request #2017 from alphagov/extra-hint-templates-go-live

Be clearer about the templates needed to go live
This commit is contained in:
Chris Hill-Scott
2018-04-09 13:53:25 +01:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@
) }}
{{ tick_cross_done_not_done(
has_templates,
'Create some <a href="{}">templates</a>'.format(
'Create <a href="{}">templates</a> showing the kind of messages you plan to send'.format(
url_for('main.choose_template', service_id=current_service.id)
)|safe,
) }}

View File

@@ -460,9 +460,9 @@ def test_should_raise_duplicate_name_handled(
(2, 'Done: Have more than one team member with the Manage service permission'),
])
@pytest.mark.parametrize('count_of_templates, expected_templates_checklist_item', [
(0, 'Not done: Create some templates'),
(1, 'Done: Create some templates'),
(2, 'Done: Create some templates'),
(0, 'Not done: Create templates showing the kind of messages you plan to send'),
(1, 'Done: Create templates showing the kind of messages you plan to send'),
(2, 'Done: Create templates showing the kind of messages you plan to send'),
])
@pytest.mark.parametrize('count_of_email_templates, reply_to_email_addresses, expected_reply_to_checklist_item', [
pytest.mark.xfail((0, [], ''), raises=IndexError),