Fixed service test that deletes all the things to delete the job stats too.

This commit is contained in:
Martyn Inglis
2017-05-12 13:08:09 +01:00
parent 1a61f06f53
commit 4751673f43
2 changed files with 9 additions and 2 deletions

View File

@@ -699,6 +699,7 @@ def test_timeout_job_counts_timesout_multiple_jobs(
assert stats.sms_failed == sms_count
assert stats.emails_failed == email_count
count_notifications = len(NOTIFICATION_STATUS_TYPES)
count_success_notifications = len(NOTIFICATION_STATUS_SUCCESS)
count_error_notifications = len(NOTIFICATION_STATUS_TYPES) - len(NOTIFICATION_STATUS_SUCCESS)