nose-devs/nose — Issue #152: --where option doesn't seem to work properly in version 0.10.0a1
Author: jpellerin
Created: 2011-12-14 16:01:57+00:00
State: closed

In new version 0.10.0a1 of nose, the --where option doesn't seems to work
properly.

Indeed, althought I set this option on a folder full of tests (!= from the
current folder), no test where played.

To fix this, I replaced the line 191 of core.py:

self.testLoader = defaultTestLoader(config=self.config)

by:

self.testLoader = defaultTestLoader(config=self.config,
workingDir=self.config.workingDir)

As no workingDir is provided, it take the current folder (!= from the
--where folder) as start point for search.

Google Code Info:
Issue #: 63
Author: nosexu...@gmail.com
Created On: 2007-07-11T17:49:26.000Z
Closed On: 2007-07-19T01:41:58.000Z