table with sending/delivered/failed stats for each service today

This commit is contained in:
Leo Hemsted
2016-05-31 11:08:22 +01:00
parent a8c38b7478
commit 9669024f49
5 changed files with 140 additions and 21 deletions

View File

@@ -205,7 +205,7 @@ def mock_get_aggregate_service_statistics(mocker):
@pytest.fixture(scope='function')
def mock_get_all_service_statistics(mocker):
def _create(day):
return {'data': [{}]}
return {'data': []}
return mocker.patch(
'app.statistics_api_client.get_statistics_for_all_services_for_day', side_effect=_create)