A package for create venv in tests
Project description
Pytest-env
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.6.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pytest_pyvenv-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 352bd0b064ecac30a0a6a0b51a0d62dafb3f8331c7602cdb11d2547c9588624a |
|
MD5 | 9aacac3f40c1b4a042c549c6f7b37e5b |
|
BLAKE2b-256 | b1eeb37bafcda49abc013259ed8ad5698e4aaaf550e53feb9639e69abf7373f6 |