From 3fba382cfee95c0a55ab627d64327f5ac5fa1a9a Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 10 Jan 2025 14:43:28 -0800 Subject: [PATCH] fix uuid --- .../app/service/send_notification/test_send_notification.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/app/service/send_notification/test_send_notification.py b/tests/app/service/send_notification/test_send_notification.py index fd37f7592..831803934 100644 --- a/tests/app/service/send_notification/test_send_notification.py +++ b/tests/app/service/send_notification/test_send_notification.py @@ -420,7 +420,7 @@ def test_should_allow_valid_sms_notification(notify_api, sample_template, mocker response_data = json.loads(response.data)["data"] notification_id = response_data["notification"]["id"] - mocked.assert_called_once_with([notification_id], queue="send-sms-tasks") + mocked.assert_called_once_with([notification_id], queue="send-sms-tasks", countdown=30) assert response.status_code == 201 assert notification_id assert "subject" not in response_data @@ -658,7 +658,7 @@ def test_should_send_sms_to_anyone_with_test_key( ], ) app.celery.provider_tasks.deliver_sms.apply_async.assert_called_once_with( - [fake_uuid], queue="send-sms-tasks" + [fake_uuid], queue="send-sms-tasks", countdown=30 ) assert response.status_code == 201 @@ -735,7 +735,7 @@ def test_should_send_sms_if_team_api_key_and_a_service_user( ) app.celery.provider_tasks.deliver_sms.apply_async.assert_called_once_with( - [fake_uuid], queue="send-sms-tasks" + [fake_uuid], queue="send-sms-tasks", countdown=30 ) assert response.status_code == 201