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.
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| pytest-pyvenv-0.2.4.tar.gz | 4.0 kB | Without provenance | Details for pytest-pyvenv-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_pyvenv-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for pytest_pyvenv-0.2.4-py3-none-any.whl |
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
|
Security for pytest-pyvenv 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.