Skip to content

Commit

Permalink
Squash #2137 - Fix failing test test_ses_callback_should_set_status_t…
Browse files Browse the repository at this point in the history
…o_temporary_failure
  • Loading branch information
MackHalliday committed Dec 3, 2024
1 parent f876f11 commit cd84a59
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/app/celery/test_process_ses_receipts_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,11 @@ def test_ses_callback_should_set_status_to_temporary_failure(
sample_service_callback,
status,
):
# TODO Test failing possibly related to removing old VA_PROFILE_EMAIL_STATUS_ENABLED FF
# during refactor. process_ses_receipts_tasks.process_ses_results(ses_soft_bounce_callback(reference=ref)) returns True
send_mock = mocker.patch('app.celery.service_callback_tasks.send_delivery_status_to_service.apply_async')
mock_send_email_status = mocker.patch(
'app.celery.send_va_profile_notification_status.send_email_status_to_va_profile.apply_async'
)
mock_send_email_status.return_value = None

template = sample_template(template_type=EMAIL_TYPE)
ref = str(uuid4())
Expand Down

0 comments on commit cd84a59

Please sign in to comment.