Contents

pytest-env 1.5.0

0

pytest plugin that allows you to add environment variables.

pytest plugin that allows you to add environment variables.

Stars: 217, Watchers: 217, Forks: 8, Open Issues: 0

The pytest-dev/pytest-env repo was created 3 years ago and the last code push was 13 hours ago.
The project is popular with 217 github stars!

How to Install pytest-env

You can install pytest-env using pip

pip install pytest-env

or add it to a project with poetry

poetry add pytest-env

Package Details

Author
None
License
MIT License
    Copyright (c) 2010-202x The pytest-env developers
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.</dd>
Homepage
None
PyPi:
https://pypi.org/project/pytest-env/
GitHub Repo:
https://github.com/pytest-dev/pytest-env

Classifiers

  • Software Development/Libraries/Python Modules
No  pytest-env  pypi packages just yet.

Errors

A list of common pytest-env errors.

Code Examples

Here are some pytest-env code examples and snippets.

GitHub Issues

The pytest-env package has 0 open issues on GitHub

  • Support to pass dot env file
  • Support pytest.tool in pyproject.toml

See more issues on GitHub

Related Packages & Articles

respx 0.22.0

A utility for mocking out the Python HTTPX and HTTP Core libraries.

websauna 1.0a13

Websauna is a full stack Python web framework for building web services and back offices with admin interface and sign up process.

pytest-github 0.3.1

Plugin for py.test that associates tests with github issues using a marker.

nbval 0.11.0

A py.test plugin to validate Jupyter notebooks