notify-152 sms delivery receipts

This commit is contained in:
Kenneth Kehl
2023-05-04 07:56:24 -07:00
parent 881f479417
commit 3fb113a83e
10 changed files with 237 additions and 7 deletions

View File

@@ -23,6 +23,7 @@ def test_should_call_send_sms_to_provider_from_deliver_sms_task(
sample_notification,
mocker):
mocker.patch('app.delivery.send_to_providers.send_sms_to_provider')
mocker.patch('app.celery.provider_tasks.check_sms_delivery_receipt')
deliver_sms(sample_notification.id)
app.delivery.send_to_providers.send_sms_to_provider.assert_called_with(sample_notification)