57260dab0c
This commit adds a test for python-flask package. As we are about to add python-flask-expects-json together with a test, it made sense to also add a test for python-flask itself. As far as the DEVELOPERS file is concerned, the test files are added both to the existing maintainer of package/python-flask, as well as to myself. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
8 lines
110 B
Python
8 lines
110 B
Python
from flask import Flask
|
|
app = Flask(__name__)
|
|
|
|
|
|
@app.route('/')
|
|
def hello_world():
|
|
return 'Hello, World!'
|