mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Delete unused functions and their tests
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user