add provider tasks tests

This commit is contained in:
Kenneth Kehl
2024-10-22 12:09:11 -07:00
parent ac03cde770
commit 571e91bd93

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", "hurray", "AT&T"},
return_value={"AT&T", "hurray", "success"},
)
mock_sanitize = mocker.patch(
"app.celery.provider_tasks.sanitize_successful_notification_by_id"