mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -05:00
Update unit test to be more realistic with failure types
This commit is contained in:
@@ -35,9 +35,10 @@ NewStatsRow = collections.namedtuple('row', ('notification_type', 'status', 'key
|
||||
StatsRow('email', 'technical-failure', 1),
|
||||
StatsRow('email', 'temporary-failure', 1),
|
||||
StatsRow('email', 'permanent-failure', 1),
|
||||
StatsRow('email', 'validation-failed', 1),
|
||||
StatsRow('email', 'virus-scan-failed', 1),
|
||||
], [6, 0, 6], [0, 0, 0], [0, 0, 0]),
|
||||
StatsRow('letter', 'validation-failed', 1),
|
||||
StatsRow('letter', 'virus-scan-failed', 1),
|
||||
StatsRow('letter', 'permanent-failure', 1),
|
||||
], [4, 0, 4], [0, 0, 0], [3, 0, 3]),
|
||||
'convert_sent_to_delivered': ([
|
||||
StatsRow('sms', 'sending', 1),
|
||||
StatsRow('sms', 'delivered', 1),
|
||||
|
||||
Reference in New Issue
Block a user