[Zope3-dev] Odd functional test failure (testModuleListView)
Tim Peters
tim.peters at gmail.com
Sat Apr 2 17:58:19 EST 2005
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 failed before and after moving to ZODB 3.4a1. Windows XP Pro,
current Zope3 trunk.
More information about the Zope3-dev
mailing list