mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-01 12:18:50 -04:00
lazy init encryption
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user