Pytest plugin to validate use of envvars on your tests
Project description
Pytest plugin to validate use of envvars on your tests
Note
Warning: pytest-envvars is beta.
What is pytest-envvars?
pytest-envvars change values of environment variables on your unit tests to check consistency of mocks. If the test has a wrong mock, this test will be broken.
pytest-envvars changes the values of the environment variables in your unit tests to check the consistency of the mocks. If the test has a wrong mock, this test will be broken due to changes in the original values of the environment variables.
Install
$ pip install pytest-envvars
Use
$ pytest --envvars-validate
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-envvars-0.0.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pytest_envvars-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1d8842c4a5956aaef59bb7997a0284298ac7bd782a95b197b37511dfb690592 |
|
MD5 | 5132cb2358537c5abb8dc291ebcf0bef |
|
BLAKE2b-256 | 86680d1aa42c0478ac6be45a36b2fa46ebeb5e8b0496f334db7405c576a15454 |