This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients michael.foord, r.david.murray
Date 2012-06-06.01:20:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338945643.44.0.808523506511.issue15010@psf.upfronthosting.co.za>
In-reply-to
Content
During the execution of the load tests protocol, the loader instance will set its _top_level_dir attribute, and this will persist if the loader is passed on to another load_tests method.  If that method does not specify a top_level_dir in a discovery call, the wrong top_level_dir may be used, and loading will fail.

You can reproduce this by having two test *packages* with a load_tests method that calls discover in their __init__.py, and specify both package names to the unittest CLI.
History
Date User Action Args
2012-06-06 01:20:43r.david.murraysetrecipients: + r.david.murray, michael.foord
2012-06-06 01:20:43r.david.murraysetmessageid: <1338945643.44.0.808523506511.issue15010@psf.upfronthosting.co.za>
2012-06-06 01:20:42r.david.murraylinkissue15010 messages
2012-06-06 01:20:41r.david.murraycreate