Message162387
| 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: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 |
|