python3-pytest-env

pytest plugin that allows you to add environment variables
  https://github.com/pytest-dev/pytest-env
  0
  no reviews



In your pytest.ini (or pyproject.toml) file add a key value pair with `env` as the key and the environment variables as a line separated list of `KEY=VALUE` entries. The defined variables will be added to the environment before any tests are run.