doc test fails with egg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testscenarios |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The tests tries to load the README file, even if it is inside an egg. It seems testtools now builds an egg before doing the testing.
$ make check
PYTHONPATH=
testscenari
Traceback (most recent call last):
File "/usr/lib64/
"__main__", fname, loader, pkg_name)
File "/usr/lib64/
exec code in run_globals
File "/usr/lib/
main(sys.argv, sys.stdout)
File "/usr/lib/
stdout=stdout)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.module)
File "/usr/lib64/
suites = [self.loadTests
File "/usr/lib64/
test = obj()
File "build/
File "build/
File "build/
File "/usr/lib64/
suite.
File "/usr/lib64/
doc, path = _load_testfile(
File "/usr/lib64/
file_contents = package.
IOError: [Errno 2] No such file or directory: 'testscenarios/
The problematic code in question is in lib/testscenari
standard_
Changed in testscenarios: | |
status: | Incomplete → Invalid |
I can't replicate this in either the old bzr tree or the git tree.