Merge pull request #471 from alphagov/craig-david

Show the last 7 days of statistics on the dashboard
This commit is contained in:
Chris Hill-Scott
2016-04-20 11:13:51 +01:00
7 changed files with 66 additions and 50 deletions

View File

@@ -172,7 +172,7 @@ def mock_delete_service(mocker, mock_get_service):
@pytest.fixture(scope='function')
def mock_get_service_statistics(mocker):
def _create(service_id):
def _create(service_id, limit_days=None):
return {'data': [{}]}
return mocker.patch(