add provider tasks tests

This commit is contained in:
Kenneth Kehl
2024-10-22 12:30:43 -07:00
parent 749d1ac534
commit f2dec7e564

View File

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