Update unit test to be more realistic with failure types

This commit is contained in:
Rebecca Law
2018-10-30 16:01:23 +00:00
parent 80d02c434b
commit 00e7b337df

View File

@@ -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),