A package for create venv in tests
Project description
Pytest-env
This is a simple plugin for pytest that allows you to set environment variables for your tests.
Installation
From PyPI
pip install pytest-env
From Source
pip install git+https://github.com/msinamsina/pytest-env.git
Usage
def test_env(pyvenv):
pyvenv.install_package('pytest-env')
pyvenv.run('mkdir -p tests')
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-pyvenv-0.0.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for pytest_pyvenv-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fab62bce1ddf0a122a199a8f0c8d60333328e19b056ddb5e433f0d9077a7e8a4 |
|
MD5 | 56f933618666ca02a89959e8b915a30b |
|
BLAKE2b-256 | 06954e7992a60abf5639bf017aba44f7989931e95f532c59990d04c31606c461 |