post-gray test updates

This commit is contained in:
stvnrlly
2022-12-02 10:30:37 -05:00
parent de30221ae3
commit a8b8d09fb7
7 changed files with 69 additions and 201 deletions

View File

@@ -132,7 +132,7 @@ def usage(service_id):
units = billing_api_client.get_monthly_usage_for_service(service_id, year)
yearly_usage = billing_api_client.get_annual_usage_for_service(service_id, year)
more_stats = []
try:
more_stats = format_monthly_stats_to_list(
service_api_client.get_monthly_notification_stats(service_id, year)['data']
@@ -145,7 +145,7 @@ def usage(service_id):
# This is all the other months
# and we need last year's data
more_stats = [month for month in more_stats if month['name'] not in ['October', 'November', 'December']]
except Exception as e:
except Exception:
pass
return render_template(