mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 21:44:11 -04:00
Add validation-failed status to FAILURE_STATUSES in admin utils
This commit is contained in:
@@ -53,7 +53,7 @@ from tests.conftest import (
|
||||
'created', 'pending', 'sending', 'pending-virus-check',
|
||||
'delivered', 'sent', 'returned-letter',
|
||||
'failed', 'temporary-failure', 'permanent-failure', 'technical-failure',
|
||||
'virus-scan-failed',
|
||||
'virus-scan-failed', 'validation-failed'
|
||||
]
|
||||
),
|
||||
(
|
||||
@@ -66,7 +66,10 @@ from tests.conftest import (
|
||||
),
|
||||
(
|
||||
'failed',
|
||||
['failed', 'temporary-failure', 'permanent-failure', 'technical-failure', 'virus-scan-failed']
|
||||
[
|
||||
'failed', 'temporary-failure', 'permanent-failure', 'technical-failure',
|
||||
'virus-scan-failed', 'validation-failed'
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
@@ -157,7 +157,7 @@ def test_jobs_page_doesnt_show_scheduled_on_page_2(
|
||||
'created', 'pending', 'sending', 'pending-virus-check',
|
||||
'delivered', 'sent', 'returned-letter',
|
||||
'failed', 'temporary-failure', 'permanent-failure', 'technical-failure',
|
||||
'virus-scan-failed',
|
||||
'virus-scan-failed', 'validation-failed'
|
||||
]
|
||||
),
|
||||
(
|
||||
@@ -170,7 +170,10 @@ def test_jobs_page_doesnt_show_scheduled_on_page_2(
|
||||
),
|
||||
(
|
||||
'failed',
|
||||
['failed', 'temporary-failure', 'permanent-failure', 'technical-failure', 'virus-scan-failed']
|
||||
[
|
||||
'failed', 'temporary-failure', 'permanent-failure', 'technical-failure', 'virus-scan-failed',
|
||||
'validation-failed'
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
@@ -340,6 +343,7 @@ def test_should_show_letter_job(
|
||||
'permanent-failure',
|
||||
'technical-failure',
|
||||
'virus-scan-failed',
|
||||
'validation-failed'
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user