{ "info": { "author": "Steinn Eldjarn Sigurdarson", "author_email": "steinnes@gmail.com", "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 :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing" ], "description": "# loofah\n[![CircleCI](https://circleci.com/gh/steinnes/loofah.svg?style=svg)](https://circleci.com/gh/steinnes/loofah)\n\nA tool to list test fixtures declared but not used in a test:\n\n![image](https://user-images.githubusercontent.com/1097582/43468569-dfb0a932-94d3-11e8-8c99-ef9245ec430f.png)\n\n\nThis tool is actually a pytest plugin, and with some improved packaging could\nbe installed, and then called via the `py.test` command line.\n\n----\n\n\n## Features\n\n* Uses the pytest collection to get a list of tests and available fixtures\n* Parses the code for each function to determine whether fixture arguments\n are used or not in the test\n* Supports a list of \"ignored\" fixtures, since some fixtures are only used\n to create and tear down a particular context, and might not be used directly\n in the test code\n\n\n\n## Installation\n\nYou can install `loofah` via `pip`:\n\n $ pip install loofah\n\n\n## Usage\n\nSince loofah relies on pytest collecting and being able to execute the tests,\nit needs to be run from your normal development shell, and probably installed\nin the venv of your project.\n\nSo, from your normal development shell, run loofah as you would run your tests:\n(ie with any required environment variables or virtual environment enabled, etc)\n\n $ loofah test/unit\n ...\n test/unit/account_tests.py:10 in test_account_update_requires_login detected 1 unused fixture:\n user\n test/unit/account_tests.py:28 in test_account_locks_after_three_attempts detected 2 unused fixtures:\n user\n monkeypatch\n\n\n## Why 'loofah' ?\n\nWhy name this project after a fruit with fibrous, spongy interior often used to\nclean hard-to-reach areas of the human body? That's a mystery indeed.\n\n\n## License\n\nDistributed under the terms of the `MIT`_ license, \"loofah\" is free and open source software", "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/steinnes/loofah", "keywords": "", "license": "MIT", "maintainer": "Steinn Eldjarn Sigurdarson", "maintainer_email": "steinnes@gmail.com", "name": "loofah", "package_url": "https://pypi.org/project/loofah/", "platform": "", "project_url": "https://pypi.org/project/loofah/", "project_urls": { "Homepage": "https://github.com/steinnes/loofah" }, "release_url": "https://pypi.org/project/loofah/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "A pytest-based tool to list test fixtures declared but not used in a test", "version": "0.2.0" }, "last_serial": 5420805, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9a05aff75534d3d514ac8f2822c24461", "sha256": "1707cdbb86c2dc99aedcdaccb67399a3496c20eb42e92dffbe470235662c1f19" }, "downloads": -1, "filename": "loofah-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9a05aff75534d3d514ac8f2822c24461", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4215, "upload_time": "2018-07-31T15:08:12", "url": "https://files.pythonhosted.org/packages/49/e5/59814fdf53ff337f8e8ef709755dc081c8994760f87bd021bd844b90a7fa/loofah-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4f71bf770e4c3127fcb2bf0b2ab339ec", "sha256": "c0f322bd1c458882fb6a19cdd160536380d02b4422e2289f222936bec7a36dbd" }, "downloads": -1, "filename": "loofah-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "4f71bf770e4c3127fcb2bf0b2ab339ec", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3721, "upload_time": "2018-07-31T15:48:30", "url": "https://files.pythonhosted.org/packages/27/a8/ca4b1d09c60d0f0a17b14151efc7bf148c802130489664e726cdfefa014c/loofah-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "29f16c24e9070c2f1080901ce1f6f3e4", "sha256": "ffbba90356c5037367520eb41b4cc5a56af07d01d3d9ee11abc8add80e2e2841" }, "downloads": -1, "filename": "loofah-0.1.1.tar.gz", "has_sig": false, "md5_digest": "29f16c24e9070c2f1080901ce1f6f3e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4307, "upload_time": "2018-07-31T15:48:01", "url": "https://files.pythonhosted.org/packages/b1/bd/f224fa1fcc10951cd12a13b08efd29987836cfd5f4f06d09bcbfec1ddd54/loofah-0.1.1.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2d628e7ed0f246af2ab9c5c873086745", "sha256": "148a2b81f637516f46e36bf3c3907a7e88c6da9df7b31481a9415e238a289249" }, "downloads": -1, "filename": "loofah-0.1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "2d628e7ed0f246af2ab9c5c873086745", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3739, "upload_time": "2019-04-30T16:12:35", "url": "https://files.pythonhosted.org/packages/86/28/02e84beafe775c1bf280b93093837067c2d05c8d4c14246a87b0daa30df9/loofah-0.1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "08853204fff612d60e226a6c2c357846", "sha256": "610bb6d24859b352f7d6eba0b54a65869de81efe9dd41aa99d9b860c6a230eb2" }, "downloads": -1, "filename": "loofah-0.1.3.tar.gz", "has_sig": false, "md5_digest": "08853204fff612d60e226a6c2c357846", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4334, "upload_time": "2019-04-30T16:12:31", "url": "https://files.pythonhosted.org/packages/a4/52/7a87c7f2dbbe9b1cfc6ec06fe536bbbc5eb52b6fa49da02be42c454b8c38/loofah-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "0c1082a7ece72ec720c0e7d716757fd4", "sha256": "c8bb037b9ca0874c56dddfec7356e957b3865e784994c1a07672aace8cac87f1" }, "downloads": -1, "filename": "loofah-0.1.4-py2-none-any.whl", "has_sig": false, "md5_digest": "0c1082a7ece72ec720c0e7d716757fd4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3760, "upload_time": "2019-04-30T16:23:36", "url": "https://files.pythonhosted.org/packages/fb/ba/cb02345cd2cfcf9ef3900e529bf3ca7516aa9f43609b8700d25e89bf0391/loofah-0.1.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "42b01dba077f84d6033688050fc321f9", "sha256": "c18b7b15056f4ce42651634f20745c4b1588b0ee824ca809409bb60fbe9a1198" }, "downloads": -1, "filename": "loofah-0.1.4.tar.gz", "has_sig": false, "md5_digest": "42b01dba077f84d6033688050fc321f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4370, "upload_time": "2019-04-30T16:23:32", "url": "https://files.pythonhosted.org/packages/bb/80/28ddfdf620995dac3cb9f1023e954fe561e13950828912d5a56065c43a78/loofah-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5dbb373f330d970bd9d4046d91707c32", "sha256": "16c057cab6e49527388c26b54bcba0a136190b49c0230bc0cbf9963a92660981" }, "downloads": -1, "filename": "loofah-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "5dbb373f330d970bd9d4046d91707c32", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3795, "upload_time": "2019-06-19T15:15:17", "url": "https://files.pythonhosted.org/packages/68/87/330004d87766abee4579e733bf5018d9ca87094e299d4cb952d27511b52c/loofah-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b7126ab40e876322ab886c053af94a0", "sha256": "8a3ab9346969c72ee0fa72ff3d9dfea423c9154beb8049f995b6c01928d88335" }, "downloads": -1, "filename": "loofah-0.2.0.tar.gz", "has_sig": false, "md5_digest": "6b7126ab40e876322ab886c053af94a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4394, "upload_time": "2019-06-19T15:15:15", "url": "https://files.pythonhosted.org/packages/09/e7/f102acfcb80ecb5e5d6f36878aec9df5c99cc6b1e62ea1c64e4c84fe9ac6/loofah-0.2.0.tar.gz" } ], "0.2.0rc0": [ { "comment_text": "", "digests": { "md5": "4bd7825c10636295ebe8b9b53056d179", "sha256": "235f0f646b1523d15ce91b81170f83ebc03cc5c7986b3938691505d18a222f3f" }, "downloads": -1, "filename": "loofah-0.2.0rc0-py2-none-any.whl", "has_sig": false, "md5_digest": "4bd7825c10636295ebe8b9b53056d179", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3827, "upload_time": "2019-06-19T11:35:08", "url": "https://files.pythonhosted.org/packages/ea/91/9f7d65e6bf041a60daa474601e889b93ceae3798e3766a0911b2b54a6384/loofah-0.2.0rc0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d9173e3247f8156f7819d35d269fd39", "sha256": "94bd434ee54cf987ea981af257548046045a4402689b849ee08871aacc7efc41" }, "downloads": -1, "filename": "loofah-0.2.0rc0.tar.gz", "has_sig": false, "md5_digest": "8d9173e3247f8156f7819d35d269fd39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4406, "upload_time": "2019-06-19T11:35:06", "url": "https://files.pythonhosted.org/packages/43/35/3039c862c680dc8f0271098682db0a25403a1aee9c256920a13165663af2/loofah-0.2.0rc0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5dbb373f330d970bd9d4046d91707c32", "sha256": "16c057cab6e49527388c26b54bcba0a136190b49c0230bc0cbf9963a92660981" }, "downloads": -1, "filename": "loofah-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "5dbb373f330d970bd9d4046d91707c32", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3795, "upload_time": "2019-06-19T15:15:17", "url": "https://files.pythonhosted.org/packages/68/87/330004d87766abee4579e733bf5018d9ca87094e299d4cb952d27511b52c/loofah-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b7126ab40e876322ab886c053af94a0", "sha256": "8a3ab9346969c72ee0fa72ff3d9dfea423c9154beb8049f995b6c01928d88335" }, "downloads": -1, "filename": "loofah-0.2.0.tar.gz", "has_sig": false, "md5_digest": "6b7126ab40e876322ab886c053af94a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4394, "upload_time": "2019-06-19T15:15:15", "url": "https://files.pythonhosted.org/packages/09/e7/f102acfcb80ecb5e5d6f36878aec9df5c99cc6b1e62ea1c64e4c84fe9ac6/loofah-0.2.0.tar.gz" } ] }