Update the timeout notifications to use technical-failure rather than temporary failure

This commit is contained in:
Rebecca Law
2016-12-14 16:18:43 +00:00
parent f91a2b67f1
commit a6da1ac864
3 changed files with 11 additions and 10 deletions

View File

@@ -67,7 +67,7 @@ def test_update_status_of_notifications_after_timeout(notify_api,
created_at=datetime.utcnow() - timedelta(
seconds=current_app.config.get('SENDING_NOTIFICATIONS_TIMEOUT_PERIOD') + 10))
timeout_notifications()
assert not1.status == 'temporary-failure'
assert not1.status == 'technical-failure'
def test_not_update_status_of_notification_before_timeout(notify_api,