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.4.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for pytest_pyvenv-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a14315525c33e41c7f650b64747f396c22b92d10455aac8fd3ab02ec4bc567 |
|
MD5 | 760c8b692d214ae337d6b5d3d8620232 |
|
BLAKE2b-256 | 0410c7f91d1fcc7a9b28c2bbd6d314db494f67c490bc97ff20a142608e428a69 |