This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 158652 - Python Test Runner does not include test root directories into Python Path
Summary: Python Test Runner does not include test root directories into Python Path
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Testing (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-17 09:00 UTC by tk_fhd_aui
Modified: 2009-02-19 22:57 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Patch solving the issue (1.93 KB, patch)
2009-02-17 09:01 UTC, tk_fhd_aui
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tk_fhd_aui 2009-02-17 09:00:44 UTC
I found this with Dev 200902090201 and verified it with main-golden.
Test classes, which reside in test roots, are not found by the Python Test Runner, as the test root directories are not
added to the Python Path. The attached patch solves the problem and adds a logging statement allowing to see such issues
without having to look into the source code in the future.
Comment 1 tk_fhd_aui 2009-02-17 09:01:52 UTC
Created attachment 77058 [details]
Patch solving the issue
Comment 2 Torbjorn Norbye 2009-02-17 19:57:40 UTC
Thanks for the patch -- applied as changeset f8c0c31eae67.