What you're seeing is the affect of the current working directory being different when tests are run versus when the main debug file is run. By default, the initial current working directory is the directory that the file run in in -- this applies to either the main debug file or the individual test files.Another observation is that your HUDSON_HOME should be properly set too...otherwise Nose will not know to look for the right imports if you use $WORKSPACE in your PYTHONPATH.
Tuesday, April 19, 2011
Relative paths in PYTHONPATH breaks Nose tests
http://wingware.com/pipermail/wingide-users/2008-September/005878.html
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment