[Zope3-dev] test failures
Jeremy Hylton
jeremy@zope.com
Wed, 12 Jun 2002 19:42:34 -0400
I've noticed a couple of test failures today with CVS Python on
Linux. Tim reports the same failures (and more) on Windows.
Jeremy
======================================================================
ERROR: testBaseTag2 (Zope.App.ZopePublication.tests.testZopePublication.BrowserDefaultTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py", line 133, in testBaseTag2
'http://127.0.0.1/somepath/@@view/bruce')
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py", line 183, in _testBaseTags
publish(req, handle_errors=0)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/Publisher/Publish.py", line 36, in publish
object = request.traverse(root_object)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/Publisher/Browser/BrowserRequest.py", line 433, in traverse
ob, add_steps = publication.getDefaultTraversal(self, ob)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/ZopePublication/Browser/Publication.py", line 38, in getDefaultTraversal
r = adapter.browserDefault(request)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/ZopePublication/Traversers.py", line 81, in browserDefault
view_name = getDefaultViewName(ob, request)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/__init__.py", line 111, in getDefaultViewName
request)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/GlobalViewService.py", line 143, in getDefaultViewName
name = self.queryDefaultViewName(object, request)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/GlobalViewService.py", line 155, in queryDefaultViewName
name = self.__default_view_names.getForObject(object, type)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py", line 159, in getForObject
return self.get(getattr(ob, '__implements__', None), provided)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py", line 81, in get
for interface in _flatten(ob_interface):
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py", line 267, in _flatten
_flatten_recurse(implements, interfaces)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py", line 256, in _flatten_recurse
_flatten_recurse_interface(implements, list)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py", line 248, in _flatten_recurse_interface
for i in interface.__bases__:
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/Security/Checker.py", line 114, in check
raise ForbiddenAttribute(name)
ForbiddenAttribute: next
======================================================================
ERROR: testBaseTag3 (Zope.App.ZopePublication.tests.testZopePublication.BrowserDefaultTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py", line 137, in testBaseTag3
'http://127.0.0.1/somepath/@@view/bruce')
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py", line 183, in _testBaseTags
publish(req, handle_errors=0)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/Publisher/Publish.py", line 36, in publish
object = request.traverse(root_object)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/Publisher/Browser/BrowserRequest.py", line 433, in traverse
ob, add_steps = publication.getDefaultTraversal(self, ob)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/ZopePublication/Browser/Publication.py", line 38, in getDefaultTraversal
r = adapter.browserDefault(request)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/ZopePublication/Traversers.py", line 81, in browserDefault
view_name = getDefaultViewName(ob, request)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/__init__.py", line 111, in getDefaultViewName
request)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/GlobalViewService.py", line 143, in getDefaultViewName
name = self.queryDefaultViewName(object, request)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/GlobalViewService.py", line 155, in queryDefaultViewName
name = self.__default_view_names.getForObject(object, type)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py", line 159, in getForObject
return self.get(getattr(ob, '__implements__', None), provided)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py", line 81, in get
for interface in _flatten(ob_interface):
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py", line 267, in _flatten
_flatten_recurse(implements, interfaces)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py", line 256, in _flatten_recurse
_flatten_recurse_interface(implements, list)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py", line 248, in _flatten_recurse_interface
for i in interface.__bases__:
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/Security/Checker.py", line 114, in check
raise ForbiddenAttribute(name)
ForbiddenAttribute: next
----------------------------------------------------------------------
Ran 1662 tests in 63.652s