mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Allow letter templates to select the default contact block from the list
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user