Mon Mar 20 15:18:57 2006
Ticket #17 (Closed: fixed)
improve library discovery
| Priority: | high | Reporter: | jpellerin |
|---|---|---|---|
| Severity: | normal | Assigned to: | jpellerin |
| Component: | nose:selector | Status: | closed |
| Version: | 0.9a1 | Resolution: | fixed |
| Milestone: | 0.9a1 | Keywords: | enhancement |
Description by jpellerin:
nosetests deals badly with a common package layout:
pack
lib
foo.py
test
test_foo.py
To be friendlier to that layout, selector should be updated to want directories that look like common source directories (lib and src at least).
Changelog
Mon Mar 20 15:19:05 2006: Modified by jpellerin
- status changed from new to assigned
Wed Mar 22 09:16:14 2006: Modified by jpellerin
Thu Mar 23 22:09:34 2006: Modified by jpellerin
- resolution set to fixed
- status changed from assigned to closed
Implemented in [13]

Will also have to make sure that dirs are examined in defined order, with test dirs always coming last; otherwise, the test dirs will load and try to access modules in lib or src before those dirs have had a chance to be examined and alter sys.path.