mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-02 20:10:45 -05:00
Fix code style
This commit is contained in:
@@ -107,5 +107,3 @@ def _raise_when_no_default(old_default):
|
||||
# check that the update is not updating the only default to false
|
||||
if not old_default:
|
||||
raise Exception("You must have at least one letter contact as the default.", 400)
|
||||
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ def test_dao_add_sms_sender_for_service_switches_default(notify_db_session):
|
||||
|
||||
def test_dao_update_service_sms_sender(notify_db_session):
|
||||
service = create_service(sms_sender='first_sms')
|
||||
service_sms_senders = ServiceSmsSender.query.filter_by(service_id =service.id).all()
|
||||
service_sms_senders = ServiceSmsSender.query.filter_by(service_id=service.id).all()
|
||||
assert len(service_sms_senders) == 1
|
||||
sms_sender_to_update = service_sms_senders[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user