mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-09 10:53:55 -04:00
notify-api-521 fix sms temporary failure message
This commit is contained in:
@@ -105,7 +105,7 @@ def test_should_go_into_technical_error_if_exceeds_retries_on_deliver_sms_task(
|
||||
queue="retry-tasks", countdown=0
|
||||
)
|
||||
|
||||
assert sample_notification.status == "technical-failure"
|
||||
assert sample_notification.status == "temporary-failure"
|
||||
assert mock_logger_exception.called
|
||||
|
||||
|
||||
|
||||
@@ -139,8 +139,12 @@ def test_notification_for_csv_returns_correct_job_row_number(sample_job):
|
||||
("email", "technical-failure", "Technical failure"),
|
||||
("email", "temporary-failure", "Inbox not accepting messages right now"),
|
||||
("email", "permanent-failure", "Email address doesn’t exist"),
|
||||
("sms", "temporary-failure", "Phone not accepting messages right now"),
|
||||
("sms", "permanent-failure", "Phone number doesn’t exist"),
|
||||
(
|
||||
"sms",
|
||||
"temporary-failure",
|
||||
"Unable to find carrier response -- still looking",
|
||||
),
|
||||
("sms", "permanent-failure", "Unable to find carrier response."),
|
||||
("sms", "sent", "Sent internationally"),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user