more tests

This commit is contained in:
Kenneth Kehl
2025-01-13 12:36:04 -08:00
parent 510b84b96b
commit 521ed799e7

View File

@@ -610,7 +610,7 @@ def test_process_delivery_receipts_success(mocker):
cloudwatch_mock = mocker.patch(
"app.celery.scheduled_tasks.AwsCloudwatchClient"
)
cloudwatch_mock.check_delivery_receipts.return_value = (range(2000), range(500))
cloudwatch_mock.return_value.check_delivery_receipts.return_value = (range(2000), range(500))
current_app_mock = mocker.patch("app.celery.scheduled_tasks.current_app")
current_app_mock.return_value = MagicMock()
processor = MagicMock()