Message49483
SchoolTool's test runner uses the 'trace' module to
produce unit test coverage reports. Many unit tests in
SchoolTool are actually doctests. When the test runner
invokes trace.CoverageResults.write_results, it gets a
lot of printed error messages like this:
Not printing coverage data for '<doctest
schooltool.app.browser.tests.test_app.doctest_ACLView[60]>':
[Errno 2] No such file or directory: '<doctest
schooltool.app.browser.tests.test_app.doctest_ACLView[60]>'
and a lot of empty files with nimes like
<doctest schooltool.timetable.browser.cover
appear in the output directory.
The attached patch fixes both problems. |
|
Date |
User |
Action |
Args |
2007-08-23 15:45:44 | admin | link | issue1429818 messages |
2007-08-23 15:45:44 | admin | create | |
|