added python test app
This commit is contained in:
1
tests/python/Procfile
Normal file
1
tests/python/Procfile
Normal file
@@ -0,0 +1 @@
|
|||||||
|
web: gunicorn hello:app
|
||||||
8
tests/python/hello.py
Normal file
8
tests/python/hello.py
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import os
|
||||||
|
from flask import Flask
|
||||||
|
|
||||||
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
@app.route('/')
|
||||||
|
def hello():
|
||||||
|
return 'Hello World!'
|
||||||
5
tests/python/requirements.txt
Normal file
5
tests/python/requirements.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Flask==0.9
|
||||||
|
Jinja2==2.6
|
||||||
|
Werkzeug==0.8.3
|
||||||
|
gunicorn==0.17.2
|
||||||
|
|
||||||
Reference in New Issue
Block a user