add provider tasks tests

This commit is contained in:
Kenneth Kehl
2024-10-22 13:07:54 -07:00
parent f2dec7e564
commit 4b09a2c863

View File

@@ -34,7 +34,7 @@ def test_should_check_delivery_receipts(sample_notification, mocker):
)
mocker.patch(
"app.celery.provider_tasks.aws_cloudwatch_client.check_sms",
return_value={"success"},
return_value=("success", "okay", "AT&T"),
)
mock_sanitize = mocker.patch(
"app.celery.provider_tasks.sanitize_successful_notification_by_id"