- simplify if statement

- use the template.get_reply_to_text() in send_notification, it's already using the right thing.
This commit is contained in:
Rebecca Law
2018-01-08 16:54:19 +00:00
parent d6683d9630
commit a052020f84
4 changed files with 4 additions and 15 deletions

View File

@@ -615,6 +615,7 @@ def test_create_a_template_with_foreign_service_reply_to(admin_request, sample_u
[('template address', 'service address'),
(None, 'service address'),
('template address', None),
(None, None)
])
def test_get_template_reply_to(client, sample_service, template_default, service_default):
auth_header = create_authorization_header()