Added tests, fixed some minor alignment problems.

This commit is contained in:
Kiss György 2016-06-25 13:17:33 +02:00
parent 1647179511
commit b8e826c16b
3 changed files with 59 additions and 1 deletions

View file

@ -0,0 +1,18 @@
from __future__ import absolute_import, print_function
from flask import Flask
noroute_app = Flask('noroute app')
simpleroute_app = Flask('simpleroute app')
only_POST_route_app = Flask('GET route app')
@simpleroute_app.route('/simpleroute')
def simple():
pass
@only_POST_route_app.route('/only-post', methods=['POST'])
def only_post():
pass