{ "info": { "author": "Marsel Zaripov", "author_email": "marszaripov@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 :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing" ], "description": "pytest-lazy-fixture |travis-ci| |appveyor| |pypi|\n=================================================\n\nUse your fixtures in ``@pytest.mark.parametrize``.\n\nInstallation\n------------\n\n.. code-block:: shell\n\n pip install pytest-lazy-fixture\n\nUsage\n-----\n\n.. code-block:: python\n\n import pytest\n\n @pytest.fixture(params=[1, 2])\n def one(request):\n return request.param\n\n @pytest.mark.parametrize('arg1,arg2', [\n ('val1', pytest.lazy_fixture('one')),\n ])\n def test_func(arg1, arg2):\n assert arg2 in [1, 2]\n\n\nAlso you can use it as a parameter in ``@pytest.fixture``:\n\n.. code-block:: python\n\n import pytest\n\n @pytest.fixture(params=[\n pytest.lazy_fixture('one'),\n pytest.lazy_fixture('two')\n ])\n def some(request):\n return request.param\n\n @pytest.fixture\n def one():\n return 1\n\n @pytest.fixture\n def two():\n return 2\n\n def test_func(some):\n assert some in [1, 2]\n\nPlease see `tests `_ for more examples.\n\nContributing\n------------\n\nContributions are very welcome. Tests can be run with ``tox``.\n\nLicense\n-------\n\nDistributed under the terms of the ``MIT`` license,\n``pytest-lazy-fixture`` is free and open source software\n\nIssues\n------\n\nIf you encounter any problems, please ``file an issue`` along with a\ndetailed description.\n\n.. |travis-ci| image:: https://travis-ci.org/TvoroG/pytest-lazy-fixture.svg?branch=master\n :target: https://travis-ci.org/TvoroG/pytest-lazy-fixture\n.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/TvoroG/pytest-fixture-mark?branch=master&svg=true\n :target: https://ci.appveyor.com/project/TvoroG/pytest-fixture-mark\n.. |pypi| image:: https://badge.fury.io/py/pytest-lazy-fixture.svg\n :target: https://pypi.python.org/pypi/pytest-lazy-fixture/\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tvorog/pytest-lazy-fixture", "keywords": "", "license": "MIT", "maintainer": "Marsel Zaripov", "maintainer_email": "marszaripov@gmail.com", "name": "pytest-lazy-fixture", "package_url": "https://pypi.org/project/pytest-lazy-fixture/", "platform": "", "project_url": "https://pypi.org/project/pytest-lazy-fixture/", "project_urls": { "Homepage": "https://github.com/tvorog/pytest-lazy-fixture" }, "release_url": "https://pypi.org/project/pytest-lazy-fixture/0.6.1/", "requires_dist": [ "pytest (>=3.2.5)" ], "requires_python": "", "summary": "It helps to use fixtures in pytest.mark.parametrize", "version": "0.6.1" }, "last_serial": 5972158, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "748f7f60901f8e0125e4122944735a78", "sha256": "d7c56df192f8d4d1ce7d8fed82717eb54833447abe73b851b4c105bea36eab69" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.2.0.tar.gz", "has_sig": false, "md5_digest": "748f7f60901f8e0125e4122944735a78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4180, "upload_time": "2016-11-24T21:26:41", "url": "https://files.pythonhosted.org/packages/39/03/70345c3583feb5d2ba8e36afe93d08b00ab8db1b36bea7c7fd237e93a6f1/pytest-lazy-fixture-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "8d14ea9b673b8f2b082fb8d79f95620a", "sha256": "80546181ed19d27a6c68b726e1a80537283ccb892b10d6ac952ba1ed670edfd1" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.3.0.tar.gz", "has_sig": false, "md5_digest": "8d14ea9b673b8f2b082fb8d79f95620a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4374, "upload_time": "2017-02-04T20:37:34", "url": "https://files.pythonhosted.org/packages/90/e2/de73e026eaf17295606d777f43337bcfcb97bcbcaa3add9aa1d52a551572/pytest-lazy-fixture-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "05ef43e69ec21068764b55eaf1d772dc", "sha256": "058ada0d59b0488bd89e1a6fb79a4cd693e10527c1bc1011ed5c180224e74b63" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.4.0.tar.gz", "has_sig": false, "md5_digest": "05ef43e69ec21068764b55eaf1d772dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4554, "upload_time": "2017-11-30T20:31:18", "url": "https://files.pythonhosted.org/packages/e7/34/b389ff46467e5a24d4e6b3b5eb4fceffec442b9b5184c4c9d5d2357726e5/pytest-lazy-fixture-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "3a9bb93c55d3ca84715b7536dd58622c", "sha256": "d4986eefe3fb0fb5ab4d572c03b3dd5d01d06bccd8454de641d231aed4268453" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.4.1.tar.gz", "has_sig": false, "md5_digest": "3a9bb93c55d3ca84715b7536dd58622c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4566, "upload_time": "2018-07-12T13:50:09", "url": "https://files.pythonhosted.org/packages/c7/5a/6b5a324b3c80a93178e8c6e1fd059f55182d26d12a3901f4766d30a1dab9/pytest-lazy-fixture-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "b2b64d3c63bc92af46f5218330647b76", "sha256": "e2398240352b16cb9b59295821475ae983c8b015c97be8b8df21f2348f3885b9" }, "downloads": -1, "filename": "pytest_lazy_fixture-0.4.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b2b64d3c63bc92af46f5218330647b76", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4006, "upload_time": "2018-09-29T17:21:02", "url": "https://files.pythonhosted.org/packages/9f/2f/6be42e288e265f9291a0c64cc80bf6e78088af94f7e4631f5363cfa705b8/pytest_lazy_fixture-0.4.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "70b232442811f71746b567a09d896526", "sha256": "5674171e4c408b338dd178ba192bfb72f5468462f4242c7f83325bc4c7d6e5ea" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.4.2.tar.gz", "has_sig": false, "md5_digest": "70b232442811f71746b567a09d896526", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4551, "upload_time": "2018-09-29T17:21:03", "url": "https://files.pythonhosted.org/packages/4f/f6/9358397a0d1a99fa22313bb05be51280b7a98f474971fb0a820bab0945fb/pytest-lazy-fixture-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "2b48620e5a1b25ccbf5fe16174609981", "sha256": "f8812fcdf26d5ea8b8c3127d8000e6caf17be98a406119f13faf4623f3597266" }, "downloads": -1, "filename": "pytest_lazy_fixture-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2b48620e5a1b25ccbf5fe16174609981", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3989, "upload_time": "2019-01-05T16:03:14", "url": "https://files.pythonhosted.org/packages/78/ef/71a68412dfd47163cb09c5db7603d24c7963b210bb68a50ed07f76294c11/pytest_lazy_fixture-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8c11f4e39a4ffb4749093ef04c003373", "sha256": "542a5a1d7fbfe43857187e41c797b45a9f81aa5143882651fd52dc61ef834694" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.5.0.tar.gz", "has_sig": false, "md5_digest": "8c11f4e39a4ffb4749093ef04c003373", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4548, "upload_time": "2019-01-05T16:03:15", "url": "https://files.pythonhosted.org/packages/47/da/f1ce350daec48c8cb9fa6bfaac563a63f77057b73eab8d4812b46a4f6133/pytest-lazy-fixture-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "1f66252fa411fed557b84db7f24cf37e", "sha256": "9a39e20e284fa89ab1c49a9638eb42e31352b27bb9b28ef43c20c8742fb45e22" }, "downloads": -1, "filename": "pytest_lazy_fixture-0.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1f66252fa411fed557b84db7f24cf37e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4048, "upload_time": "2019-01-10T05:48:57", "url": "https://files.pythonhosted.org/packages/03/ff/e8414bbcacdd670b5e58e1381c8f8f1c2de0f93c103593c25a2fc7df2e38/pytest_lazy_fixture-0.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "73ef5749654dd807680df9dc6c062869", "sha256": "6fe84f0853b96e2da5b2056011b06abf27f68cc610e60b93ea07cb3b0d2e4c34" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.5.1.tar.gz", "has_sig": false, "md5_digest": "73ef5749654dd807680df9dc6c062869", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4601, "upload_time": "2019-01-10T05:48:59", "url": "https://files.pythonhosted.org/packages/9a/50/1a8b5d6ca7ac7c404aa6211603be3c17d622d8d2c126466f8c92f2872b3c/pytest-lazy-fixture-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "6cef0dfb5647f526cf9e05d88e197aa0", "sha256": "282fe28124eb1478e889088b3f616958caf7ac4cfc86f073b9ded6e2e6675c07" }, "downloads": -1, "filename": "pytest_lazy_fixture-0.5.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6cef0dfb5647f526cf9e05d88e197aa0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4049, "upload_time": "2019-03-16T19:14:25", "url": "https://files.pythonhosted.org/packages/d1/c2/97222a4d24f5befac7535e1096e7effc724f8578afebf03465b407031bb9/pytest_lazy_fixture-0.5.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a6c4fa1cf6dd415d08702faed0038071", "sha256": "787833087014b65eb622a16f3cc9a89a4ceccc5ba3f97df9ba8bd086e98c19a4" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.5.2.tar.gz", "has_sig": false, "md5_digest": "a6c4fa1cf6dd415d08702faed0038071", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7916, "upload_time": "2019-03-16T19:11:28", "url": "https://files.pythonhosted.org/packages/4f/df/16a22a4ad35784f0e303d42dd5323704157b9d31a3e978f26d15cb10cbad/pytest-lazy-fixture-0.5.2.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "7f3917e0b898b9453c88cc6a2c8f4556", "sha256": "d5fcb93f73b34a9069d1da8d315715acecfabd369f25ca428a99c0af6e2caf97" }, "downloads": -1, "filename": "pytest_lazy_fixture-0.6.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7f3917e0b898b9453c88cc6a2c8f4556", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4888, "upload_time": "2019-10-13T14:07:01", "url": "https://files.pythonhosted.org/packages/4d/90/0bf2ec7757836315b26a9b986945c4be6a9868e5bc0157027425b4f8679c/pytest_lazy_fixture-0.6.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "11c8617e8af761d91a89d2bba0e62e82", "sha256": "56362afac2e31660df26b3ddf12483cfe31910792284f303bf468a7ea770b322" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.6.0.tar.gz", "has_sig": false, "md5_digest": "11c8617e8af761d91a89d2bba0e62e82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7546, "upload_time": "2019-10-13T14:07:03", "url": "https://files.pythonhosted.org/packages/72/c9/74e9d307eb12eeb65835cfa0ba61164502e191976255dfc7e6150a720892/pytest-lazy-fixture-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "bfb0cfb43433264ff22b142e0efce42d", "sha256": "d4a6263c7ca3cc04d1f7950921b0d4bdac8062ae10c0c4295bf3e0638526102c" }, "downloads": -1, "filename": "pytest_lazy_fixture-0.6.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bfb0cfb43433264ff22b142e0efce42d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4888, "upload_time": "2019-10-14T15:53:16", "url": "https://files.pythonhosted.org/packages/ed/e6/517dc99debebd91e842f2c9751bcaa9a0859d6dd0f3d9477941657589e6f/pytest_lazy_fixture-0.6.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a2662cd3baa35c0ac3e8e13333e87c9b", "sha256": "50d02e7dfad719948efee6bb060fa13e85f11688f78243a468406110ebc06284" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.6.1.tar.gz", "has_sig": false, "md5_digest": "a2662cd3baa35c0ac3e8e13333e87c9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7709, "upload_time": "2019-10-14T15:53:18", "url": "https://files.pythonhosted.org/packages/90/96/c75347d43a3e288eb194e2e5948fb3f1257acc52afe19df1bb2dc7e39510/pytest-lazy-fixture-0.6.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bfb0cfb43433264ff22b142e0efce42d", "sha256": "d4a6263c7ca3cc04d1f7950921b0d4bdac8062ae10c0c4295bf3e0638526102c" }, "downloads": -1, "filename": "pytest_lazy_fixture-0.6.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bfb0cfb43433264ff22b142e0efce42d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4888, "upload_time": "2019-10-14T15:53:16", "url": "https://files.pythonhosted.org/packages/ed/e6/517dc99debebd91e842f2c9751bcaa9a0859d6dd0f3d9477941657589e6f/pytest_lazy_fixture-0.6.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a2662cd3baa35c0ac3e8e13333e87c9b", "sha256": "50d02e7dfad719948efee6bb060fa13e85f11688f78243a468406110ebc06284" }, "downloads": -1, "filename": "pytest-lazy-fixture-0.6.1.tar.gz", "has_sig": false, "md5_digest": "a2662cd3baa35c0ac3e8e13333e87c9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7709, "upload_time": "2019-10-14T15:53:18", "url": "https://files.pythonhosted.org/packages/90/96/c75347d43a3e288eb194e2e5948fb3f1257acc52afe19df1bb2dc7e39510/pytest-lazy-fixture-0.6.1.tar.gz" } ] }