add new notification status 'sent'

for international text messages, when we may not ever receive callback info,
so we need a separate status that doesn't get timed out etc
This commit is contained in:
Leo Hemsted
2017-04-25 17:08:29 +01:00
parent c87be0f982
commit 02e8f454e1
5 changed files with 10 additions and 7 deletions

View File

@@ -307,8 +307,8 @@ def test_get_all_notifications_filter_by_status_invalid_status(client, sample_no
assert json_response['status_code'] == 400
assert len(json_response['errors']) == 1
assert json_response['errors'][0]['message'] == "status elephant is not one of [created, sending, delivered, " \
"pending, failed, technical-failure, temporary-failure, permanent-failure]"
assert json_response['errors'][0]['message'] == "status elephant is not one of [created, sending, sent, " \
"delivered, pending, failed, technical-failure, temporary-failure, permanent-failure]"
def test_get_all_notifications_filter_by_multiple_statuses(client, notify_db, notify_db_session):