A package for create venv in tests
Project description
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.
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.2.3.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file pytest-pyvenv-0.2.3.tar.gz
.
File metadata
- Download URL: pytest-pyvenv-0.2.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48fa34e6ccfcf9c54f72d785b1688e52c260764c09acb325fb084c799e203ec4 |
|
MD5 | 6854ed8bbeb19e5bfa14fd43116d0245 |
|
BLAKE2b-256 | f3df011efb750faeb632df720b1827d5cf87937d9a62405a2ac83aa02739badf |
File details
Details for the file pytest_pyvenv-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: pytest_pyvenv-0.2.3-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 | e9bf0ff434f329486b7309b9474618a31821e00b00ec1d4983b4c05cb29b198b |
|
MD5 | 96b58dedaad8a47b342ecdd195c56daa |
|
BLAKE2b-256 | a484424c910d35759f2da2c0b165b62a97549d3c5895e8c46c398ea2c79333f3 |