More Enum goodness.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-01-18 10:26:40 -05:00
parent 43f18eed6a
commit df866e40f7
26 changed files with 379 additions and 278 deletions

View File

@@ -30,6 +30,7 @@ from app.models import (
NOTIFICATION_TECHNICAL_FAILURE,
NOTIFICATION_TEMPORARY_FAILURE,
FactNotificationStatus,
NotificationType,
TemplateType,
)
from tests.app.db import (
@@ -853,7 +854,7 @@ def test_update_fact_notification_status_respects_gmt_bst(
expected_count,
):
create_notification(template=sample_template, created_at=created_at_utc)
update_fact_notification_status(process_day, SMS_TYPE, sample_service.id)
update_fact_notification_status(process_day, NotificationType.SMS, sample_service.id)
assert (
FactNotificationStatus.query.filter_by(