lazy init encryption

This commit is contained in:
Kenneth Kehl
2025-10-06 12:16:34 -07:00
parent e3a465b8ba
commit 46c5cb24fe
3 changed files with 19 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ import pytest
import requests_mock
from freezegun import freeze_time
from app import encryption
from app import get_encryption
from app.celery.service_callback_tasks import (
send_complaint_to_service,
send_delivery_status_to_service,
@@ -20,6 +20,8 @@ from tests.app.db import (
create_template,
)
encryption = get_encryption()
@pytest.mark.parametrize(
"notification_type", [NotificationType.EMAIL, NotificationType.SMS]