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-pyvenv
From Source
pip install git+https://github.com/msinamsina/pytest-pyvenv.git
Usage
def test_env(pyvenv):
pyvenv.install_package('pytest-pyvenv')
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.1.7.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pytest_pyvenv-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ddc418d9a2bd5fd8a3aea61829a9b06065a77beaeea759a6274f2a994ae1bf5 |
|
MD5 | 88abb814f7f3a49d49319b67ef3d5bb4 |
|
BLAKE2b-256 | 3845196a61346503ef723261c339e6ec68f5974a1527b7a0bd9dd7dc1b958894 |