Message162387
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. |
|
Date |
User |
Action |
Args |
2012-06-06 01:20:43 | r.david.murray | set | recipients:
+ r.david.murray, michael.foord |
2012-06-06 01:20:43 | r.david.murray | set | messageid: <1338945643.44.0.808523506511.issue15010@psf.upfronthosting.co.za> |
2012-06-06 01:20:42 | r.david.murray | link | issue15010 messages |
2012-06-06 01:20:41 | r.david.murray | create | |
|