{ "info": { "author": "Rafael Henrique da Silva Correia", "author_email": "rafael@abraseucodigo.com.br", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "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.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Testing" ], "description": "==============\npytest-envvars\n==============\n\n.. image:: https://travis-ci.org/rafaelhenrique/pytest-envvars.svg?branch=master\n :target: https://travis-ci.org/rafaelhenrique/pytest-envvars\n :alt: See Build Status on Travis CI\n\nPytest plugin to validate use of envvars on your tests\n\nWhat is pytest-envvars?\n-----------------------\n\npytest-envvars randomize values of environment variables on your unit tests to check consistency of mocks about configuration. If the test has a wrong mock, this test will be broken.\n\nInstall\n-------\n\n.. code-block:: bash\n\n $ pip install pytest-envvars\n\nUse\n---\n\nYou need write some changes on ``pytest.ini`` file, like that...\n\n.. code-block:: bash\n\n [pytest]\n pytestenvvars__env_files =\n .env\n pytestenvvars__dont_randomize_envvars =\n CACHE_URL\n\nOn this example above the plugin read ``.env`` file (from ``pytestenvvars__env_files`` section) of your project and randomize **ALL** envvar configuration on that file, if you dont need randomize some envvar configuration you need add this envvar to ``pytestenvvars__dont_randomize_envvars`` section like shown above.\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/rafaelhenrique/pytest-envvars", "keywords": "", "license": "MIT", "maintainer": "Rafael Henrique da Silva Correia", "maintainer_email": "rafael@abraseucodigo.com.br", "name": "pytest-envvars", "package_url": "https://pypi.org/project/pytest-envvars/", "platform": "", "project_url": "https://pypi.org/project/pytest-envvars/", "project_urls": { "Homepage": "https://github.com/rafaelhenrique/pytest-envvars" }, "release_url": "https://pypi.org/project/pytest-envvars/1.0.0/", "requires_dist": [ "pytest (>=3.0.0)" ], "requires_python": "", "summary": "Pytest plugin to validate use of envvars on your tests", "version": "1.0.0" }, "last_serial": 5669680, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5132cb2358537c5abb8dc291ebcf0bef", "sha256": "f1d8842c4a5956aaef59bb7997a0284298ac7bd782a95b197b37511dfb690592" }, "downloads": -1, "filename": "pytest_envvars-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5132cb2358537c5abb8dc291ebcf0bef", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5209, "upload_time": "2019-07-13T01:43:05", "url": "https://files.pythonhosted.org/packages/86/68/0d1aa42c0478ac6be45a36b2fa46ebeb5e8b0496f334db7405c576a15454/pytest_envvars-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bdfe4e269cf3650296e4cbfc4f6f07b", "sha256": "a27ff5e73768a3e8af8a62e5b56fe011725c7f16fee248908a08d005f69a6381" }, "downloads": -1, "filename": "pytest-envvars-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6bdfe4e269cf3650296e4cbfc4f6f07b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4566, "upload_time": "2019-07-13T01:43:07", "url": "https://files.pythonhosted.org/packages/e9/92/0752a27eed8dcbf6f5ea666c4ae653739fb7e0f682e91b747a0be8c6a572/pytest-envvars-0.0.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "2e1d663c116167dd3a60dc7392e08c7b", "sha256": "0bc36d034b8a334c3c70dc7e80d16f379a3b740a49810d8ca6433cafc4761f66" }, "downloads": -1, "filename": "pytest_envvars-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2e1d663c116167dd3a60dc7392e08c7b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5679, "upload_time": "2019-08-13T03:01:22", "url": "https://files.pythonhosted.org/packages/3b/ff/2341696abc5157b48c9e80fae46cbec972a4fb49f167d74929d33acb1741/pytest_envvars-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5929110b5b280071c47f743f438ec875", "sha256": "84cb0e74dbf53aa7411f135c8dbff2c9315665730f0a0f0900bc6b9d6aea398c" }, "downloads": -1, "filename": "pytest-envvars-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5929110b5b280071c47f743f438ec875", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5565, "upload_time": "2019-08-13T03:01:24", "url": "https://files.pythonhosted.org/packages/59/aa/ac6f2654753597a1d37f46443a5306df9ceed14e7263cd383f6fd79a3a20/pytest-envvars-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2e1d663c116167dd3a60dc7392e08c7b", "sha256": "0bc36d034b8a334c3c70dc7e80d16f379a3b740a49810d8ca6433cafc4761f66" }, "downloads": -1, "filename": "pytest_envvars-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2e1d663c116167dd3a60dc7392e08c7b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5679, "upload_time": "2019-08-13T03:01:22", "url": "https://files.pythonhosted.org/packages/3b/ff/2341696abc5157b48c9e80fae46cbec972a4fb49f167d74929d33acb1741/pytest_envvars-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5929110b5b280071c47f743f438ec875", "sha256": "84cb0e74dbf53aa7411f135c8dbff2c9315665730f0a0f0900bc6b9d6aea398c" }, "downloads": -1, "filename": "pytest-envvars-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5929110b5b280071c47f743f438ec875", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5565, "upload_time": "2019-08-13T03:01:24", "url": "https://files.pythonhosted.org/packages/59/aa/ac6f2654753597a1d37f46443a5306df9ceed14e7263cd383f6fd79a3a20/pytest-envvars-1.0.0.tar.gz" } ] }