On Saturday 02 April 2005 17:58, Tim Peters wrote: > I get a failure today running the unit and functional tests in the same > run: > > """ > FAIL: testModuleListView (zope.app.apidoc.browser.ftests.APIDocTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "C:\Code\Zope3\src\zope\app\apidoc\browser\ftests.py", line 60, > in testModuleListView > basic='mgr:mgrpw') > File "C:\Code\Zope3\src\zope\app\testing\functional.py", line 371, > in checkForBrokenLinks > self.fail("%s contains broken links:\n" % path > File "C:\python23\lib\unittest.py", line 270, in fail > raise self.failureException, msg > AssertionError: /++apidoc++/modulelist.html contains broken links: > /++apidoc++/./++preferences++/apidoc/@@apidocMenu.html: > ForbiddenAttribute: ('__getitem__', > <zope.app.preference.preference.PreferenceGroup object at 0x07AEEB10>) > """ > However, the test passes if I leave the unit tests out of the run > (i.e., test.py -f).
This is my fault. I can reproduce the issue. What's particularly strange is that I can just run the tests in zope.app.apidoc to reproduce the problem. I thought I have to run at least the zope.app.preference tests too. Mmmh, I have to dig a while to figure out what's going on. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com