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.
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.2.4.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest-pyvenv-0.2.4.tar.gz.
File metadata
- Download URL: pytest-pyvenv-0.2.4.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58ed96f1da6bb82874d08386c5646fa9f3bca2d0c6e57b35b9e644b9962c057f
|
|
| MD5 |
531def26f8bf6933c37dc0eeff247bf1
|
|
| BLAKE2b-256 |
a558c2de2633a5f98ff3ad29fea69ca26158e84625101eb95a775436e54fa1c3
|
File details
Details for the file pytest_pyvenv-0.2.4-py3-none-any.whl.
File metadata
- Download URL: pytest_pyvenv-0.2.4-py3-none-any.whl
- Upload date:
- Size: 3.1 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 |
60a14315525c33e41c7f650b64747f396c22b92d10455aac8fd3ab02ec4bc567
|
|
| MD5 |
760c8b692d214ae337d6b5d3d8620232
|
|
| BLAKE2b-256 |
0410c7f91d1fcc7a9b28c2bbd6d314db494f67c490bc97ff20a142608e428a69
|