mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 03:41:43 -05:00
more tests
This commit is contained in:
@@ -610,7 +610,7 @@ def test_process_delivery_receipts_success(mocker):
|
|||||||
cloudwatch_mock = mocker.patch(
|
cloudwatch_mock = mocker.patch(
|
||||||
"app.celery.scheduled_tasks.AwsCloudwatchClient"
|
"app.celery.scheduled_tasks.AwsCloudwatchClient"
|
||||||
)
|
)
|
||||||
cloudwatch_mock.check_delivery_receipts.return_value = {range(2000), range(500)}
|
cloudwatch_mock.check_delivery_receipts.return_value = (range(2000), range(500))
|
||||||
current_app_mock = mocker.patch("app.celery.scheduled_tasks.current_app")
|
current_app_mock = mocker.patch("app.celery.scheduled_tasks.current_app")
|
||||||
current_app_mock.return_value = MagicMock()
|
current_app_mock.return_value = MagicMock()
|
||||||
processor = MagicMock()
|
processor = MagicMock()
|
||||||
|
|||||||
Reference in New Issue
Block a user