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

@@ -318,7 +318,7 @@ def test_process_row_sends_letter_task(
):
mocker.patch("app.celery.tasks.create_uuid", return_value="noti_uuid")
task_mock = mocker.patch(f"app.celery.tasks.{expected_function}.apply_async")
encrypt_mock = mocker.patch("app.celery.tasks.encrypt")
encrypt_mock = mocker.patch("app.celery.tasks.encryption.encrypt")
template = Mock(id="template_id", template_type=template_type)
job = Mock(id="job_id", template_version="temp_vers")
service = Mock(id="service_id")