{ "info": { "author": "Alexander Afanasyev", "author_email": "me@alecxe.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Testing" ], "description": "# pytest-joke\n\n[![Build Status](https://travis-ci.org/alecxe/pytest-joke.svg?branch=master)](https://travis-ci.org/alecxe/pytest-joke)\n[![Requirements Status](https://requires.io/github/alecxe/pytest-joke/requirements.svg?branch=master)](https://requires.io/github/alecxe/pytest-joke/requirements/?branch=master)\n[![Pyversions](https://img.shields.io/pypi/pyversions/pytest-joke.svg)](https://pypi.python.org/pypi/pytest-joke)\n[![PyPI](https://img.shields.io/pypi/v/pytest-joke.svg)](https://pypi.python.org/pypi/pytest-joke)\n\nRunning tests is better with some healthy (or not) amount or humor! \ud83d\ude03\n\nThis is a completely useless plugin created to get some practice in creating plugins for Pytest.\n\nPowered by [pyjokes][pyjokes]. \n\n[pyjokes]: https://pyjok.es/\n\n\n## Installation \ud83d\udc0d\n\nYou can install **pytest-joke** via [pip][pip] from [PyPI][PyPI]:\n\n```bash\n$ pip install pytest-joke\n```\n\n[pip]: https://pypi.python.org/pypi/pip/\n[PyPI]: https://pypi.org/project/pytest-joke/\n\n## Usage\n\nWhen the plugin is installed, every time a test run results in a failure, the terminal would output a random joke in an attempt to cheer you up.\n\n```bash\nHumor-powered output enabled \ud83d\ude03.\n\nplugins: mock-1.10.4, joke-0.1.0\ncollected 2 items\n\ntest_joke.py .F [100%]\n\n=================================== FAILURES ===================================\n_________________________________ test_failed __________________________________\n\n def test_failed():\n> assert 1 == 2\nE assert 1 == 2\n\ntest_joke.py:7: AssertionError\n====================== 1 failed, 1 passed in 0.03 seconds ======================\n\nThere are two ways to write error-free programs; only the third one works.\n```\n\n## TODO\n\n * make the plugin configurable: turn on/off, language, joke category, number of jokes\n\n## License\n\nDistributed under the terms of the [MIT][mit] license, **pytest-joke** is\nfree and open source software.\n\n[mit]: http://opensource.org/licenses/MIT\n\n## Motivation\n\n[![](https://pybit.es/images/pytest-book-poster.png)](https://pybit.es/pytest-book.html)\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alecxe/pytest-joke", "keywords": "pytest,joke,humor,humour", "license": "MIT", "maintainer": "Alexander Afanasyev", "maintainer_email": "me@alecxe.me", "name": "pytest-joke", "package_url": "https://pypi.org/project/pytest-joke/", "platform": "", "project_url": "https://pypi.org/project/pytest-joke/", "project_urls": { "Homepage": "https://github.com/alecxe/pytest-joke" }, "release_url": "https://pypi.org/project/pytest-joke/0.1.1/", "requires_dist": [ "pytest (>=4.2.1)", "pyjokes (>=0.6.0)" ], "requires_python": ">=3.4", "summary": "Test failures are better served with humor.", "version": "0.1.1" }, "last_serial": 5946795, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1b2c50b9cd3cd3e248e32487f86ec77f", "sha256": "4408908573d8da266508493d3131b6314a562fe94e924b85f1ba2e44cad53036" }, "downloads": -1, "filename": "pytest_joke-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "1b2c50b9cd3cd3e248e32487f86ec77f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 3764, "upload_time": "2019-06-23T20:48:42", "url": "https://files.pythonhosted.org/packages/1e/9e/571a46ece5e0fe83dd18cf1011635fcffe66987ed1ba9351d01b4bd14d38/pytest_joke-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "550d4ba46555ea4554de0e3121bcb686", "sha256": "c0603b83a83813ab9051d31cc3b9c14407ebbf1de0a5de8561f29ea8163af795" }, "downloads": -1, "filename": "pytest-joke-0.1.0.tar.gz", "has_sig": false, "md5_digest": "550d4ba46555ea4554de0e3121bcb686", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 3901, "upload_time": "2019-06-23T20:48:44", "url": "https://files.pythonhosted.org/packages/f7/74/07a853806785cd68050b3bd2f32a7082416948b0e440e605e54854db33a1/pytest-joke-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "23d5e726bab761b0e8f40a325baab9b8", "sha256": "fda93b1a581bb0eefa4c414773d6c237e06dba50365e53a517a35facae3f0a9f" }, "downloads": -1, "filename": "pytest_joke-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "23d5e726bab761b0e8f40a325baab9b8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 3850, "upload_time": "2019-10-08T21:35:44", "url": "https://files.pythonhosted.org/packages/26/a7/d258d21752b472ccf52880970ef22f531d75a10e1dbd234ab3e855ae269a/pytest_joke-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "89be5209cdc1b3a0020d003a4ea85826", "sha256": "df5aa2a5d2dbce36d46359b83b27575d996e32dc96218bc249dba3a84298f87a" }, "downloads": -1, "filename": "pytest-joke-0.1.1.tar.gz", "has_sig": false, "md5_digest": "89be5209cdc1b3a0020d003a4ea85826", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4016, "upload_time": "2019-10-08T21:35:46", "url": "https://files.pythonhosted.org/packages/a1/be/b1f82041bebe49e43bd2b42ab16a4dab9ff80b67e3cd8e9c5f61f9580e30/pytest-joke-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "23d5e726bab761b0e8f40a325baab9b8", "sha256": "fda93b1a581bb0eefa4c414773d6c237e06dba50365e53a517a35facae3f0a9f" }, "downloads": -1, "filename": "pytest_joke-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "23d5e726bab761b0e8f40a325baab9b8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 3850, "upload_time": "2019-10-08T21:35:44", "url": "https://files.pythonhosted.org/packages/26/a7/d258d21752b472ccf52880970ef22f531d75a10e1dbd234ab3e855ae269a/pytest_joke-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "89be5209cdc1b3a0020d003a4ea85826", "sha256": "df5aa2a5d2dbce36d46359b83b27575d996e32dc96218bc249dba3a84298f87a" }, "downloads": -1, "filename": "pytest-joke-0.1.1.tar.gz", "has_sig": false, "md5_digest": "89be5209cdc1b3a0020d003a4ea85826", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4016, "upload_time": "2019-10-08T21:35:46", "url": "https://files.pythonhosted.org/packages/a1/be/b1f82041bebe49e43bd2b42ab16a4dab9ff80b67e3cd8e9c5f61f9580e30/pytest-joke-0.1.1.tar.gz" } ] }