Commit e6282706 authored by Christophe Benz's avatar Christophe Benz
Browse files

Remove fail controller

parent 558b6202
......@@ -40,16 +40,11 @@ def make_json_app(import_name, **kwargs):
app = make_json_app('calculette_impots_web_api')
@app.route('/')
def index():
return jsonify({'message': 'Hello, this is "calculette-impots-web-api". Hint: use /api/1/calculate endpoint.'})
@app.route('/fail')
def fail():
#assert 1==2, "1 is not equal to 2!!!"
boom
app.route('/api/1/calculate')(calculate.calculate)
app.route('/api/1/variables')(variables.variables)
......
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