mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 14:29:25 -04:00
String cleanup complete.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -13,6 +13,7 @@ from app.enums import (
|
||||
NotificationStatus,
|
||||
NotificationType,
|
||||
ServicePermissionType,
|
||||
TemplateProcessType,
|
||||
TemplateType,
|
||||
)
|
||||
from app.models import Notification
|
||||
@@ -580,7 +581,9 @@ def test_send_notification_uses_priority_queue_when_template_is_marked_as_priori
|
||||
mocker.patch(f"app.celery.provider_tasks.deliver_{notification_type}.apply_async")
|
||||
|
||||
sample = create_template(
|
||||
service=sample_service, template_type=notification_type, process_type="priority"
|
||||
service=sample_service,
|
||||
template_type=notification_type,
|
||||
process_type=TemplateProcessType.PRIORITY,
|
||||
)
|
||||
mocked = mocker.patch(
|
||||
f"app.celery.provider_tasks.deliver_{notification_type}.apply_async"
|
||||
|
||||
Reference in New Issue
Block a user