diff --git a/test/integration_tests/python/test_reports.py b/test/integration_tests/python/test_reports.py index 35efe92b0f20f1d9dc6cf33436ffb9c60964afbb..059a5ca5c2e8d6cc106b44c099c3837132e914bd 100644 --- a/test/integration_tests/python/test_reports.py +++ b/test/integration_tests/python/test_reports.py @@ -181,7 +181,7 @@ def test_usage_report(data_builder, file_form, as_user, as_admin): # get month-aggregated usage report monthrange = calendar.monthrange(today.year, today.month) - start_ts = ts_format.format(today.replace(day=monthrange[0])) + start_ts = ts_format.format(today.replace(day=1)) end_ts = ts_format.format(today.replace(day=monthrange[1])) r = as_admin.get('/report/usage', params={ 'type': 'month', 'start_date': start_ts, 'end_date': end_ts