fix tests

This commit is contained in:
Kenneth Kehl
2025-10-07 07:43:40 -07:00
parent e0ede2cf6e
commit 6a90e44faa
2 changed files with 4 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ from flask import current_app
from requests import HTTPError, RequestException, request
from sqlalchemy.exc import IntegrityError, SQLAlchemyError
from app import create_uuid, encryption, notify_celery
from app import create_uuid, get_encryption, notify_celery
from app.aws import s3
from app.celery import provider_tasks
from app.config import Config, QueueNames
@@ -38,6 +38,8 @@ from app.service.utils import service_allowed_to_send_to
from app.utils import DATETIME_FORMAT, hilite, utc_now
from notifications_utils.recipients import RecipientCSV
encryption = get_encryption()
@notify_celery.task(name="process-job")
def process_job(job_id, sender_id=None):