Skip to main content

flask-funktional-gae ~~~~~~~~~~~~~~~~~~~~ flask extension to make functional testing of flask applications with the app engine sdk easier. used on top of the `flask-funktional <http://github.com/gregorynicholas/flask-funktional>`_ extension, it provides setup of app engine sdk stubs with a focus on being transparent and minimally invasive. links ````` * `docs <http://gregorynicholas.github.io/flask-funktional-gae>`_ * `source <http://github.com/gregorynicholas/flask-funktional-gae>`_ * `package <http://packages.python.org/flask-funktional-gae>`_ * `travis-ci <http://travis-ci.org/gregorynicholas/flask-funktional-gae>`_

Project description

[‘flask-funktional-gaen’, ‘====================n’, ‘n’, ‘[flask](http://flask.pocoo.org) extension to make functional testing of flaskn’, ‘applications with the [app engine sdk](http://appengine.google.com) easier.n’, ‘n’, ‘n’, ‘[![Build Status](https://secure.travis-ci.org/gregorynicholas/flask-funktional-gae.png?branch=master)](https://travis-ci.org/gregorynicholas/flask-funktional-gae)n’, ‘n’, ‘n’, ‘* [docs](http://gregorynicholas.github.io/flask-funktional-gae)n’, ‘* [source](http://github.com/gregorynicholas/flask-funktional-gae)n’, ‘* [package](http://packages.python.org/flask-funktional-gae)n’, ‘* [changelog](https://github.com/gregorynicholas/flask-funktional-gae/blob/master/CHANGES.md)n’, ‘* [travis-ci](http://travis-ci.org/gregorynicholas/flask-funktional-gae)n’, ‘n’, ‘n’, ‘—–n’, ‘n’, ‘n’, ‘### getting startedn’, ‘n’, ‘install with pip:n’, ‘n’, ‘ pip install flask-funktional-gae==0.0.1n’, ‘n’, ‘n’, ‘—–n’, ‘n’, ‘n’, ‘### overviewn’, ‘n’, ‘used on top of the [flask-funktional](http://github.com/gregorynicholas/flask-funktional)n’, ‘extension, it provides setup of app engine sdk stubs with a focus on beingn’, ‘transparent, seamless, and minimally invasive.n’, ‘n’, ‘n’, ‘### featuresn’, ‘n’, ‘* [todo]n’, ‘n’, ‘n’, ‘—–n’, ‘n’, ‘n’, ‘### example usagen’, ‘n’, ‘ from flask.ext import funktionaln’, ‘ from flask.ext import funktional_gaen’, ‘n’, ‘n’, ‘ # define a test Flask application..n’, ‘ app = Flask(__name__)n’, ‘ app.debug = Truen’, ‘ app.request_class = funktional.FileUploadRequestn’, ‘n’, ‘n’, ‘ class TestCase(funktional.TestCase):n’, ‘ def test_upload_returns_valid_blob_result(self):n’, ” data, filename, size = funktional.open_test_file(‘test_file.jpg’)n”, ‘ response = app.test_client().post(n’, ” data={‘test’: (data, filename)},n”, ” path=’/test_upload1’,n”, ‘ headers={},n’, ‘ query_string={})n’, ‘ self.assertEqual(200, response.status_code)n’]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flask-funktional-gae, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size flask-funktional-gae-0.0.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page