Commit 58a3ce1a authored by David Mendez's avatar David Mendez
Browse files

Make pylint happy

parent 44058306
......@@ -9,6 +9,7 @@ from app.blueprints.element_usage_blueprint.services import element_usage_servic
ELEMENT_USAGE_BLUEPRINT = Blueprint('frontend_element_usage', __name__)
@ELEMENT_USAGE_BLUEPRINT.route('/register_element_usage', methods=['POST'])
@validate_form_with(marshmallow_schemas.RegisterUsageRequest)
def register_element_usage():
......@@ -25,4 +26,4 @@ def register_element_usage():
operation_result = element_usage_service.register_element_usage(view_name, view_type, entity_name)
return jsonify(operation_result)
except element_usage_service.UsageRegistrationError as error:
abort(500, repr(error))
\ No newline at end of file
abort(500, repr(error))
......@@ -24,7 +24,7 @@ def run_test(server_base_url, delayed_jobs_server_base_path):
payload = {
'view_name': 'Compound-CompoundNameAndClassification',
'view_type': 'CARD',
'entity_name': 'Compound''
'entity_name': 'Compound'
}
request = requests.post(url, data=payload)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment