mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Add API client method to fetch service data retention by type
This commit is contained in:
@@ -533,6 +533,14 @@ def mock_get_service_statistics(mocker, api_user_active):
|
||||
return mocker.patch('app.service_api_client.get_service_statistics', side_effect=_get)
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_get_service_data_retention_by_notification_type(mocker, api_user_active):
|
||||
def _get(service_id, notification_type):
|
||||
return {}
|
||||
|
||||
return mocker.patch('app.service_api_client.get_service_data_retention_by_notification_type', side_effect=_get)
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_get_detailed_services(mocker, fake_uuid):
|
||||
service_one = service_json(
|
||||
|
||||
Reference in New Issue
Block a user