pytest-envfiles
pytest-envfiles is a py.test plugin that allows you to specify environment variable files that are to be parsed prior to executing tests. These files contain environment variables in a KEY=VALUE format.
Installation
Use pip:
pip install pytest-envfiles
Usage
In your pytest.ini file add a key, env_files and the environment variable files as a line separated list. The listed files will be parsed prior to test execution
[pytest]
env_files =
./common.env
./tests.env
/opt/secrets.env
Metadata
Release files for pytest-envfiles 0.1.0
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 | |
|---|---|---|---|---|
| pytest-envfiles-0.1.0.zip | 5.2 kB | Without provenance | Details |
Release files / pytest-envfiles-0.1.0.zip
| Download URL | pytest-envfiles-0.1.0.zip |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e0390141358c9fbf32be6de26eda7b83b456f0c8419c66291675d932d239298
|
|
BLAKE2b-256 checksum How to use checksums |
36cb669dc6292b2ddac3c0e482135322b7e291573f4aece46e8085a0420852eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytest-envfiles 0.1.0
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.