mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
add provider tasks tests
This commit is contained in:
@@ -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", "hurray", "AT&T"},
|
return_value={"AT&T", "hurray", "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"
|
||||||
|
|||||||
Reference in New Issue
Block a user