From 1eea4bb35b2ca2ea427fd5ffc99d33e44e553c69 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 10 Jan 2025 13:38:36 -0800 Subject: [PATCH] fix tests --- tests/app/celery/test_tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/app/celery/test_tasks.py b/tests/app/celery/test_tasks.py index 4fccfb8cb..e77b64062 100644 --- a/tests/app/celery/test_tasks.py +++ b/tests/app/celery/test_tasks.py @@ -13,6 +13,7 @@ from sqlalchemy.exc import SQLAlchemyError from app import db, encryption from app.celery import provider_tasks, tasks +from app.celery.scheduled_tasks import batch_insert_notifications from app.celery.tasks import ( get_recipient_csv_and_template_and_sender_id, process_incomplete_job, @@ -944,7 +945,7 @@ def test_save_sms_uses_sms_sender_reply_to_text(mocker, notify_db_session): notification_id, encryption.encrypt(notification), ) - + batch_insert_notifications() persisted_notification = Notification.query.one() assert persisted_notification.reply_to_text == "+12028675309"