add provider tasks tests

This commit is contained in:
Kenneth Kehl
2024-10-22 13:37:26 -07:00
parent b07af91653
commit 01c811e04a

View File

@@ -57,7 +57,7 @@ def test_should_check_delivery_receipts_failure(sample_notification, mocker):
)
mocker.patch(
"app.celery.provider_tasks.aws_cloudwatch_client.check_sms",
return_value=("success", "okay", "AT&T"),
return_value=("failure", "not okay", "AT&T"),
)
mock_sanitize = mocker.patch(
"app.celery.provider_tasks.sanitize_successful_notification_by_id"