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 details)
Built Distribution
File details
Details for the file pytest-pyvenv-0.1.8b0.tar.gz
.
File metadata
- Download URL: pytest-pyvenv-0.1.8b0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b29f5d9031a77c306690465e70425cef28e44d81e5340d50dbad63ee1550066a |
|
MD5 | 91c5f955a6e61917f1acf215b6b3c800 |
|
BLAKE2b-256 | cdc5c1cc362d47173665e5edd9b20ea64355c5039a3e3b333584e1dc518b6c19 |
File details
Details for the file pytest_pyvenv-0.1.8b0-py3-none-any.whl
.
File metadata
- Download URL: pytest_pyvenv-0.1.8b0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24d9c3546b8c94051b32eb5d04741a65a37f3ed28a3c87cf3fba507a0d844204 |
|
MD5 | 08c88f9836f60e826b98c6a691900ac6 |
|
BLAKE2b-256 | e30ab05e206ab9f466fed7f862ea6b7a11e3be5745c16c63cb244f765f5c550b |