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

Summary: Python Test Runner does not include test root directories into Python Path
Product: python Reporter: tk_fhd_aui <tk_fhd_aui>
Component: TestingAssignee: Torbjorn Norbye <tor>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Attachments: Patch solving the issue

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.