Add 'archived' column to the 3 reply_to models

Added a new boolean column, `archived`,  with a default of False to the
three models which are used to specify the 'reply to' address for
notifications:
 * ServiceEmailReplyTo
 * ServiceSmsSender
 * ServiceLetterContact
This commit is contained in:
Katie Smith
2018-04-25 10:42:00 +01:00
parent 238e85ea9e
commit be28f2e2de
4 changed files with 10 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ def test_dao_add_sms_sender_for_service(notify_db_session):
assert len(service_sms_senders) == 2
assert service_sms_senders[0].sms_sender == 'testing'
assert service_sms_senders[0].is_default
assert not service_sms_senders[0].archived
assert service_sms_senders[1] == new_sms_sender