Allow letter templates to select the default contact block from the list

This commit is contained in:
chrisw
2018-01-03 10:44:36 +00:00
parent db2fad1a75
commit 7271d4fbde
15 changed files with 875 additions and 40 deletions

View File

@@ -1029,6 +1029,17 @@ def mock_redact_template(mocker):
return mocker.patch('app.service_api_client.redact_service_template')
@pytest.fixture(scope='function')
def mock_update_service_template_sender(mocker):
def _update(service_id, template_id, reply_to):
return
return mocker.patch(
'app.service_api_client.update_service_template_sender',
side_effect=_update
)
@pytest.fixture(scope='function')
def api_user_pending(fake_uuid):
from app.notify_client.user_api_client import User