Delete unused functions and their tests

This commit is contained in:
Katie Smith
2019-03-07 16:44:11 +00:00
parent 99edd15a94
commit e4edddbeab
5 changed files with 1 additions and 127 deletions

View File

@@ -523,20 +523,6 @@ def requested_and_current_financial_year(request):
abort(404)
def format_template_stats_to_list(stats_dict):
if not stats_dict:
return []
for template_id, template in stats_dict.items():
yield dict(
requested_count=sum(
template['counts'].get(status, 0)
for status in REQUESTED_STATUSES
),
id=template_id,
**template
)
def get_tuples_of_financial_years(
partial_url,
start=2015,