Add permanent-failure for letters.

It's possible a letter can pass our validation but our print provider can not print the letter. The letter will be marked as permanent failure in this case. Typically happens with precompiled letters.
This commit is contained in:
Rebecca Law
2021-06-15 15:12:46 +01:00
parent ec646c3071
commit 2c36898684
2 changed files with 2 additions and 0 deletions

View File

@@ -124,6 +124,7 @@ def test_notification_for_csv_returns_correct_job_row_number(sample_job):
('letter', 'created', 'Accepted'),
('letter', 'sending', 'Accepted'),
('letter', 'technical-failure', 'Technical failure'),
('letter', 'permanent-failure', 'Permanent failure'),
('letter', 'delivered', 'Received')
])
def test_notification_for_csv_returns_formatted_status(