Added a test to ensure that all blueprints have a registered before_request method.

Added a test for the status endpoint.
This commit is contained in:
Rebecca Law
2017-03-17 16:21:41 +00:00
parent e4e7a99f40
commit 37293b6c7a
5 changed files with 31 additions and 27 deletions

View File

@@ -5,7 +5,7 @@ from flask import request, jsonify
from app.errors import InvalidRequest, register_errors
from app.notifications.process_client_response import validate_callback_data, process_sms_client_response
sms_callback_blueprint = Blueprint("sms_callback_blueprint", __name__, url_prefix="/notifications/sms")
sms_callback_blueprint = Blueprint("sms_callback", __name__, url_prefix="/notifications/sms")
register_errors(sms_callback_blueprint)