Skip to main content

Plugin for Nose, which provides easy and flexible interface for environment variables configuration

Project description

Plugin for configuration env variables with nose

Available options:
Set variables on nose run:
--env-vars='var1=val1,var2=val2'

Set file to read from:

[env]
var1=val1
var2=val2

and set path to it:

--env-vars-file=/path/to/created/file

If you don’t want to pass any flags you can go to ways:

  1. call your file .nose-env and put into directory you launch your tests from;

  2. set environment variable NOSE_ENV_FILE with path to your file

If you configured your nosetests to read variables from files in one of the ways, listed above, and you want to disable this option for a while you can use --skip-env-vars-file flag.

Good luck!

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

nose_env_config-0.1.6.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file nose_env_config-0.1.6.tar.gz.

File metadata

File hashes

Hashes for nose_env_config-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c71664df334aedc5ebf767e2e201f1fb481fb1b95167ad39db4c0a8d9159e51a
MD5 0fbd297e2253a273e623e03a7c6626eb
BLAKE2b-256 b87745a8ea63221fcc626bec3314a37be140a388c731f2379b9942e4fcdd77b4

See more details on using hashes here.

Supported by

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