mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
support/testing/tests/package/test_python_flask: new test
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>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
8bc8f4c416
commit
57260dab0c
7
support/testing/tests/package/sample_python_flask.py
Normal file
7
support/testing/tests/package/sample_python_flask.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from flask import Flask
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.route('/')
|
||||
def hello_world():
|
||||
return 'Hello, World!'
|
||||
Reference in New Issue
Block a user