{ "info": { "author": "Robert Collins", "author_email": "robertc@robertcollins.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing" ], "description": "*************************************************\nzope-fixtures: Fixtures for use in Zope projects.\n*************************************************\n\n Copyright (c) 2011, Robert Collins \n \n Licensed under either the Apache License, Version 2.0 or the BSD 3-clause\n license at the users choice. A copy of both licenses are available in the\n project source as Apache-2.0 and BSD. You may not use this file except in\n compliance with one of these two licences.\n \n Unless required by applicable law or agreed to in writing, software\n distributed under these licenses is distributed on an \"AS IS\" BASIS, WITHOUT\n WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n license you chose for the specific language governing permissions and\n limitations under that license.\n\n\nZope fixtures provides Fixtures (http://pypi.python.org/pypi/fixtures) for\nuse with Zope tests. These permit easy unit testing in Zope environments.\n\nDependencies\n============\n\n* Python 2.4+\n This is the base language fixtures is written in and for.\n\n* zope.interfaces.\n\n* Fixtures (http://pypi.python.org/pypi/fixtures).\n\nFor use in a unit test suite using the included glue, one of:\n\n* Python 2.7\n\n* unittest2\n\n* bzrlib.tests\n\n* Or any other test environment that supports TestCase.addCleanup.\n\nWriting your own glue code is easy, or you can simply use the fixtures directly\nwithout any support code.\n\nTo run the test suite for zope_fixtures, testtools is needed.\n\nSee the Fixtures documentation for overview and design information.\n\nStock Fixtures\n==============\n\nComponentsFixture\n+++++++++++++++++\n\nThis permits overlaying registrations in the zope registry. While the fixture\nis setup any registrations made are local to the fixture, and will be thrown\naway when the fixture is torn down.\n\n >>> from zope_fixtures import ComponentsFixture\n >>> from zope.interface import Interface, implements\n >>> from zope.component import getSiteManager\n >>> class ITestUtility(Interface):pass\n >>> class TestUtility(object):\n ... implements(ITestUtility)\n >>> with ComponentsFixture():\n ... getSiteManager().registerUtility(TestUtility())\n\n\nUtilityFixture\n++++++++++++++\n\nThis permits simple replacement of a single utility.\n\n >>> from zope_fixtures import UtilityFixture\n >>> with UtilityFixture(TestUtility()):\n ... pass", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://launchpad.net/python-zope-fixtures", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "zope_fixtures", "package_url": "https://pypi.org/project/zope_fixtures/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zope_fixtures/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://launchpad.net/python-zope-fixtures" }, "release_url": "https://pypi.org/project/zope_fixtures/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "Zope fixtures, support for testing Zope environments.", "version": "0.0.3" }, "last_serial": 5354866, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a8d97ca36258e79c25f5a1b329d9d347", "sha256": "8adf01631116ab5d47da4837b52cb3c1837374dcfaa21337cb3a5d402ff6d02d" }, "downloads": -1, "filename": "zope_fixtures-0.0.2.tar.gz", "has_sig": true, "md5_digest": "a8d97ca36258e79c25f5a1b329d9d347", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10311, "upload_time": "2012-04-26T04:56:34", "url": "https://files.pythonhosted.org/packages/2c/92/02cc3937ef26df02dc280cf4e4c3dcefe7eadf420acbd593eab8a4402c20/zope_fixtures-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "4f2a14b0590dd793002a2bf88d7d9b9c", "sha256": "f426db92ac1f6d812711ff08b6f7486821a96e7978f7efac6117f3f884121e55" }, "downloads": -1, "filename": "zope_fixtures-0.0.3.tar.gz", "has_sig": true, "md5_digest": "4f2a14b0590dd793002a2bf88d7d9b9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11055, "upload_time": "2012-09-19T05:15:11", "url": "https://files.pythonhosted.org/packages/2b/c9/0b29e397eb383390e3b964b9d44eabe5604dd746e2875ccf4a37a55147c5/zope_fixtures-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4f2a14b0590dd793002a2bf88d7d9b9c", "sha256": "f426db92ac1f6d812711ff08b6f7486821a96e7978f7efac6117f3f884121e55" }, "downloads": -1, "filename": "zope_fixtures-0.0.3.tar.gz", "has_sig": true, "md5_digest": "4f2a14b0590dd793002a2bf88d7d9b9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11055, "upload_time": "2012-09-19T05:15:11", "url": "https://files.pythonhosted.org/packages/2b/c9/0b29e397eb383390e3b964b9d44eabe5604dd746e2875ccf4a37a55147c5/zope_fixtures-0.0.3.tar.gz" } ] }