mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-03 15:50:12 -04:00
More tweaks, trying to get tests to be clean.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -2,6 +2,7 @@ from app import performance_platform_client
|
||||
from app.dao.fact_notification_status_dao import (
|
||||
get_total_sent_notifications_for_day_and_type,
|
||||
)
|
||||
from app.models import NotificationType
|
||||
|
||||
|
||||
# TODO: is this obsolete? it doesn't seem to be used anywhere
|
||||
@@ -19,8 +20,8 @@ def send_total_notifications_sent_for_day_stats(start_time, notification_type, c
|
||||
|
||||
# TODO: is this obsolete? it doesn't seem to be used anywhere
|
||||
def get_total_sent_notifications_for_day(day):
|
||||
email_count = get_total_sent_notifications_for_day_and_type(day, "email")
|
||||
sms_count = get_total_sent_notifications_for_day_and_type(day, "sms")
|
||||
email_count = get_total_sent_notifications_for_day_and_type(day, NotificationType.EMAIL)
|
||||
sms_count = get_total_sent_notifications_for_day_and_type(day, NotificationType.SMS)
|
||||
|
||||
return {
|
||||
"email": email_count,
|
||||
|
||||
Reference in New Issue
Block a user