Add error handling for possible string/datetime created at stamps

This commit is contained in:
Andrew Shumway
2025-01-15 12:49:47 -07:00
parent 345ae88ffc
commit 3fd8009e33
2 changed files with 13 additions and 3 deletions

View File

@@ -103,7 +103,6 @@ def test_create_nightly_notification_status_triggers_relevant_tasks(
mock_celery = mocker.patch(
"app.celery.reporting_tasks.create_nightly_notification_status_for_service_and_day"
).apply_async
for notification_type in NotificationType:
template = create_template(sample_service, template_type=notification_type)
create_notification(template=template, created_at=notification_date)