From fa9757b78445be41137bbb9d2353ae8a465ca026 Mon Sep 17 00:00:00 2001 From: Felipe Coury Date: Fri, 21 Jun 2013 02:57:48 -0300 Subject: [PATCH] added python test app --- tests/python/Procfile | 1 + tests/python/hello.py | 8 ++++++++ tests/python/requirements.txt | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 tests/python/Procfile create mode 100644 tests/python/hello.py create mode 100644 tests/python/requirements.txt diff --git a/tests/python/Procfile b/tests/python/Procfile new file mode 100644 index 000000000..4ea72e373 --- /dev/null +++ b/tests/python/Procfile @@ -0,0 +1 @@ +web: gunicorn hello:app diff --git a/tests/python/hello.py b/tests/python/hello.py new file mode 100644 index 000000000..90b188892 --- /dev/null +++ b/tests/python/hello.py @@ -0,0 +1,8 @@ +import os +from flask import Flask + +app = Flask(__name__) + +@app.route('/') +def hello(): + return 'Hello World!' diff --git a/tests/python/requirements.txt b/tests/python/requirements.txt new file mode 100644 index 000000000..7299a1046 --- /dev/null +++ b/tests/python/requirements.txt @@ -0,0 +1,5 @@ +Flask==0.9 +Jinja2==2.6 +Werkzeug==0.8.3 +gunicorn==0.17.2 +