Abort unauthenticated requests for Firetext inbound SMS

Switches on authentication checks for Firetext inbound SMS callbacks.

This should only be released once Firetext callback URLs have been
updated with authentication details.
This commit is contained in:
Alexey Bezhan
2017-11-23 17:17:37 +00:00
parent 0df44040e3
commit 4d48421767
2 changed files with 2 additions and 3 deletions

View File

@@ -400,7 +400,6 @@ def test_strip_leading_country_code(number, expected):
["", [], 401],
["testkey", [], 403],
])
@pytest.mark.skip(reason="aborts are disabled at the moment")
def test_firetext_inbound_sms_auth(notify_db_session, notify_api, client, mocker, auth, keys, status_code):
mocker.patch("app.notifications.receive_notifications.tasks.send_inbound_sms_to_service.apply_async")