From c6d098743d6d15b3246bd48f6269f96f0c3bc5f2 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 10 Jan 2025 14:35:03 -0800 Subject: [PATCH] fix uuid --- tests/app/celery/test_tasks.py | 4 ++-- tests/app/organization/test_invite_rest.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/app/celery/test_tasks.py b/tests/app/celery/test_tasks.py index 77641f10c..d4081fc97 100644 --- a/tests/app/celery/test_tasks.py +++ b/tests/app/celery/test_tasks.py @@ -738,7 +738,7 @@ def test_should_use_email_template_subject_placeholders( assert not persisted_notification.reference assert persisted_notification.notification_type == NotificationType.EMAIL provider_tasks.deliver_email.apply_async.assert_called_once_with( - [str(persisted_notification.id)], queue="send-email-tasks", countdown=30 + [str(persisted_notification.id)], queue="send-email-tasks" ) @@ -822,7 +822,7 @@ def test_should_use_email_template_and_persist_without_personalisation( assert not persisted_notification.reference assert persisted_notification.notification_type == NotificationType.EMAIL provider_tasks.deliver_email.apply_async.assert_called_once_with( - [str(persisted_notification.id)], queue="send-email-tasks", countdown=30 + [str(persisted_notification.id)], queue="send-email-tasks" ) diff --git a/tests/app/organization/test_invite_rest.py b/tests/app/organization/test_invite_rest.py index 3b3c2387d..23a65dda1 100644 --- a/tests/app/organization/test_invite_rest.py +++ b/tests/app/organization/test_invite_rest.py @@ -73,7 +73,7 @@ def test_create_invited_org_user( # assert len(notification.personalisation["url"]) > len(expected_start_of_invite_url) mocked.assert_called_once_with( - [(str(notification.id))], queue="notify-internal-tasks" + [(str(notification.id))], queue="notify-internal-tasks", countdown=30 )