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’, ‘[](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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for flask-funktional-gae-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50e19abbf2af6bba952b8046dc57ef14b2f4e72e89931e5f38476379a11af993 |
|
MD5 | d2c55a1ad1f2db677a73cd16fcc7370d |
|
BLAKE2b-256 | 9302f6cd86460cb4ef192d8c8a1672a7f2063a63290b7bf263dfaee3803d2b06 |