skip to navigation
skip to content

nose_env_config 0.1.6

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

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!

 
File Type Py Version Uploaded on Size
nose_env_config-0.1.6.tar.gz (md5) Source 2016-04-22 2KB