Skip to main content

Pytest plugin to validate use of envvars on your tests

Project description

See Build Status on Travis CI

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_envvars-0.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pytest-envvars-0.0.1.tar.gz.

File metadata

  • Download URL: pytest-envvars-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pytest-envvars-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a27ff5e73768a3e8af8a62e5b56fe011725c7f16fee248908a08d005f69a6381
MD5 6bdfe4e269cf3650296e4cbfc4f6f07b
BLAKE2b-256 e9920752a27eed8dcbf6f5ea666c4ae653739fb7e0f682e91b747a0be8c6a572

See more details on using hashes here.

File details

Details for the file pytest_envvars-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pytest_envvars-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pytest_envvars-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1d8842c4a5956aaef59bb7997a0284298ac7bd782a95b197b37511dfb690592
MD5 5132cb2358537c5abb8dc291ebcf0bef
BLAKE2b-256 86680d1aa42c0478ac6be45a36b2fa46ebeb5e8b0496f334db7405c576a15454

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page