{ "info": { "author": "James Rutherford", "author_email": "jim@jimr.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Other Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing" ], "description": "=====\nTesty\n=====\n\n.. image:: https://travis-ci.org/jimr/testy.png\n :target: http://travis-ci.org/jimr/testy\n\nAll the assertions from Testify_ but cleaned up a bit & with added py3k support.\n\n.. _Testify: https://github.com/Yelp/Testify\n\nShould work with Python 2.5-3.3 and pypy 1.9. To make sure it will work for you: ``python setup.py test``.\n\n\nInstallation\n============\n\nThere are no dependencies. Simply: ``pip install testy``\n\n\nExample Usage\n=============\n\n.. code-block:: python\n\n import re\n import unittest\n\n from testy.assertions import assert_dict_subset, assert_raises, assert_match_regex\n\n class MyTestCase(unittest.TestCase):\n def setUp(self):\n self.x = dict(a=1, b=2)\n\n def test_x(self):\n assert_dict_subset(dict(b=2), self.x)\n\n def test_exception(self):\n with assert_raises(TypeError):\n raise TypeError(\"Call some code you expect to fail here.\")\n\n def test_pattern(self):\n pattern = re.compile('\\w')\n assert_match_regex(pattern, 'abc')\n\n def tearDown(self):\n self.x = None\n\n if __name__ == \"__main__\":\n unittest.main()", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jimr/testy", "keywords": "testing,unittest", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "testy", "package_url": "https://pypi.org/project/testy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/testy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jimr/testy" }, "release_url": "https://pypi.org/project/testy/0.4/", "requires_dist": null, "requires_python": null, "summary": "Python unittest helpers adapted from Testify", "version": "0.4" }, "last_serial": 800498, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7cb8acc737165338a5e8b762a49195d3", "sha256": "8ea205b948d3969f8108e2362c3c876cef3dafbba8a207ae520d6d5b0f4fcdbe" }, "downloads": -1, "filename": "testy-0.1.tar.gz", "has_sig": false, "md5_digest": "7cb8acc737165338a5e8b762a49195d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8480, "upload_time": "2012-12-21T12:21:43", "url": "https://files.pythonhosted.org/packages/45/5d/b5b77dd222d339a21bf898f0d81ac2f59c822c27e7cd1946ee67e075a15f/testy-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a15eb621fab35949c3525198f2edb922", "sha256": "7edc0014e734f051b6c94eb72e286d4e7a24211924a088db16708ae3255e9e16" }, "downloads": -1, "filename": "testy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a15eb621fab35949c3525198f2edb922", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9095, "upload_time": "2012-12-22T09:07:50", "url": "https://files.pythonhosted.org/packages/1b/33/fae2c90b289e744baaf0ce08ec25fa9061caf638fa6df81505da6be84413/testy-0.1.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "f464164e13f14c9edf328cc935b7b50b", "sha256": "4238fa8018eaf357a12e745b0263a4d83a773ec186194d2fed860dfb9c30002c" }, "downloads": -1, "filename": "testy-0.3.tar.gz", "has_sig": false, "md5_digest": "f464164e13f14c9edf328cc935b7b50b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9658, "upload_time": "2012-12-24T12:57:41", "url": "https://files.pythonhosted.org/packages/6d/da/63ddfa4f42970c171fd40318f49105e4e504d8ecedec500c26f9a8440b38/testy-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "10142308bf8a3e9fb977e1b2f01c91d9", "sha256": "490bf76d48a3a3c7b684a8da74f72e3a12fb4e96904808f9eb92c31841d7d352" }, "downloads": -1, "filename": "testy-0.3.1.tar.gz", "has_sig": false, "md5_digest": "10142308bf8a3e9fb977e1b2f01c91d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9676, "upload_time": "2012-12-24T14:01:10", "url": "https://files.pythonhosted.org/packages/dc/b4/f05370d46c861e439ac26714382aec317b5153abfe0149f3ce25a06ff90a/testy-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "dae9a13b51b6fe535dd82c30c23dbe6e", "sha256": "e5b1b08ff7f0a5ef566c734f580689f0f50d62ddc8722ef1107e229231d7e3d0" }, "downloads": -1, "filename": "testy-0.3.2.tar.gz", "has_sig": false, "md5_digest": "dae9a13b51b6fe535dd82c30c23dbe6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9690, "upload_time": "2012-12-24T17:19:24", "url": "https://files.pythonhosted.org/packages/e7/e1/b51b845b39774ad32f9af928ce5a383b4ae2c0555e0dfc5f8bdbff6fa504/testy-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "b2beddf5ce309e09517f54926c6c8426", "sha256": "071e225c2735f606db7aca5cb695a1d0254e57d699b0ac1174252f2e590300e1" }, "downloads": -1, "filename": "testy-0.3.3.tar.gz", "has_sig": false, "md5_digest": "b2beddf5ce309e09517f54926c6c8426", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9932, "upload_time": "2012-12-26T19:28:15", "url": "https://files.pythonhosted.org/packages/48/40/151511a91c5441cc997d989e9b1478a4d0fc61b838d6eeb20837abcc66d7/testy-0.3.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "1f76a75da8f7cd6e25e4f33afa51d9be", "sha256": "0a0cb790de19741cf72124e15821724dcf47337fce4afc9a099bd449847d6229" }, "downloads": -1, "filename": "testy-0.4.tar.gz", "has_sig": false, "md5_digest": "1f76a75da8f7cd6e25e4f33afa51d9be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9856, "upload_time": "2012-12-26T22:24:02", "url": "https://files.pythonhosted.org/packages/80/01/bae95140c450a481efeedfc24daa98eacb95635003de2b980896ecfb2b4c/testy-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1f76a75da8f7cd6e25e4f33afa51d9be", "sha256": "0a0cb790de19741cf72124e15821724dcf47337fce4afc9a099bd449847d6229" }, "downloads": -1, "filename": "testy-0.4.tar.gz", "has_sig": false, "md5_digest": "1f76a75da8f7cd6e25e4f33afa51d9be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9856, "upload_time": "2012-12-26T22:24:02", "url": "https://files.pythonhosted.org/packages/80/01/bae95140c450a481efeedfc24daa98eacb95635003de2b980896ecfb2b4c/testy-0.4.tar.gz" } ] }