1. Doug Hellmann
  2. nose-testconfig
  3. Issues
Issue #1 new

does not support %(here) in config

Anonymous created an issue

I try to use this plugin in my pylons's nose test, add following item in config:

file = %(here)s/data/test

then testconfig throw exception like below. Hope you can add %(here) support in this plugin, because all pylons style config file have this.


File "build\bdist.win32\egg\testconfig.py", line 119, in configure File "build\bdist.win32\egg\testconfig.py", line 54, in load_ini File "C:\dev\Python26\Lib\ConfigParser.py", line 546, in get return self._interpolate(section, option, value, d) File "C:\dev\Python26\Lib\ConfigParser.py", line 592, in _interpolate option, section, rawval, e.args[0]) onfigParser.InterpolationMissingOptionError: Bad value substitution: section: [server:main] option : file key : here rawval : %(here)s/data/test

Comments (2)

  1. Anonymous

    Speaking as the original nose-testconfig author, it's doubtful I'd get to this any time soon just for pylons support. I'd gladly take a patch though.

  2. Log in to comment