Pytest-pyvenv
This is a simple plugin for pytest that allows you to create a virtual environment inside the 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.
Release files for pytest-pyvenv 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-pyvenv-0.2.4.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_pyvenv-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / pytest-pyvenv-0.2.4.tar.gz
| Download URL | pytest-pyvenv-0.2.4.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58ed96f1da6bb82874d08386c5646fa9f3bca2d0c6e57b35b9e644b9962c057f
|
|
BLAKE2b-256 checksum How to use checksums |
a558c2de2633a5f98ff3ad29fea69ca26158e84625101eb95a775436e54fa1c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Release files / pytest_pyvenv-0.2.4-py3-none-any.whl
| Download URL | pytest_pyvenv-0.2.4-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60a14315525c33e41c7f650b64747f396c22b92d10455aac8fd3ab02ec4bc567
|
|
BLAKE2b-256 checksum How to use checksums |
0410c7f91d1fcc7a9b28c2bbd6d314db494f67c490bc97ff20a142608e428a69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|