{ "info": { "author": "Dag Odenhall", "author_email": "dag.odenhall@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Software Development :: Testing" ], "description": "Flask-Attest\n============\n\nAn extension of Flask for automated testing using Attest.\n\nFeatures:\n\n* Flask-like API\n* Handling of request contexts in tests\n* Captures metadata about rendered templates\n* Flexible library with few assumptions\n* Write test conditions naturally with the `assert` statement\n\n::\n\n from flaskext.attest import request_context, get\n from myapp import app \n from attest import Tests\n from flask import Response\n\n TESTING = True\n\n @request_context\n def testapp():\n app.config.from_object(__name__)\n return app\n\n frontend = Tests(context=[testapp])\n\n @frontend.test\n @get('/')\n def index(response):\n assert response == Response('Welcome!')", "description_content_type": null, "docs_url": "https://pythonhosted.org/Flask-Attest/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dag/flask-attest", "keywords": null, "license": "Simplified BSD", "maintainer": null, "maintainer_email": null, "name": "Flask-Attest", "package_url": "https://pypi.org/project/Flask-Attest/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Flask-Attest/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dag/flask-attest" }, "release_url": "https://pypi.org/project/Flask-Attest/0.1dev/", "requires_dist": null, "requires_python": null, "summary": "Test Flask applications with Attest", "version": "0.1dev" }, "last_serial": 294303, "releases": { "0.1dev": [] }, "urls": [] }