{ "info": { "author": "Martijn Faassen and contributors", "author_email": "zope-dev at zope dot org", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "zope.pytest\n***********\n\nIntroduction\n============\n\nThis package contains a set of helper functions to test Zope/Grok\nusing `pytest`_. It currently lacks special support for doctesting.\n\n\nCore functions\n==============\n\n`zope.pytest.setup.create_app`\n\n * this function creates a WSGI app object which utilizes a temporary db.\n\n`zope.pytest.setup.configure`\n\n * this function parses ZCML files and initializes the component registry\n\n\nSimple example::\n\n import my.project\n from zope.pytest import create_app, configure\n from my.project import Root\n\n def pytest_funcarg__app(request):\n return create_app(request, Root())\n\n def pytest_funcarg__config(request):\n return configure(request, my.project, 'ftesting.zcml')\n\n def test_hello(app, config):\n assert 1 == 1\n\nDocumentation\n=============\n\nComplete documentation can be found on\n\nhttp://packages.python.org/zope.pytest\n\n.. _pytest: http://pytest.org/\n\nCHANGES\n*******\n\n0.1 (2011-03-05)\n================\n\nInitial implementation.\n\nDownload\n********", "description_content_type": null, "docs_url": "https://pythonhosted.org/zope.pytest/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/zope.pytest", "keywords": "", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "zope.pytest", "package_url": "https://pypi.org/project/zope.pytest/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zope.pytest/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/zope.pytest" }, "release_url": "https://pypi.org/project/zope.pytest/0.1/", "requires_dist": null, "requires_python": null, "summary": "zope pytest integration", "version": "0.1" }, "last_serial": 802391, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "724985c604b5fad096abeabc1871cb86", "sha256": "fd95ce5d457ef1905f60d071c1fb0f97c1d5818c50b2545b4549ff15e81fc8a5" }, "downloads": -1, "filename": "zope.pytest-0.1.tar.gz", "has_sig": false, "md5_digest": "724985c604b5fad096abeabc1871cb86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32688, "upload_time": "2011-03-05T16:52:14", "url": "https://files.pythonhosted.org/packages/cf/04/37aa10e331b08f8a3db20baffa35464b25c4f43aabe9343d1e6eebb986da/zope.pytest-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "724985c604b5fad096abeabc1871cb86", "sha256": "fd95ce5d457ef1905f60d071c1fb0f97c1d5818c50b2545b4549ff15e81fc8a5" }, "downloads": -1, "filename": "zope.pytest-0.1.tar.gz", "has_sig": false, "md5_digest": "724985c604b5fad096abeabc1871cb86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32688, "upload_time": "2011-03-05T16:52:14", "url": "https://files.pythonhosted.org/packages/cf/04/37aa10e331b08f8a3db20baffa35464b25c4f43aabe9343d1e6eebb986da/zope.pytest-0.1.tar.gz" } ] }