A package for create venv in tests
Project description
Pytest-pyvenv
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.8b0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pytest_pyvenv-0.1.8b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24d9c3546b8c94051b32eb5d04741a65a37f3ed28a3c87cf3fba507a0d844204 |
|
MD5 | 08c88f9836f60e826b98c6a691900ac6 |
|
BLAKE2b-256 | e30ab05e206ab9f466fed7f862ea6b7a11e3be5745c16c63cb244f765f5c550b |