[Zope-dev] Error running ZPublisher tests

Andreas Jung lists at zopyx.com
Sun Jan 14 05:26:10 EST 2007


Running the ZPublisher tests (on the trunk) alone results in the following 
error. However the tests works when running all unittests. Bug or feature?

Andreas

------------

ajung at galactica:~/sandboxes/Zope/Zope> bin/zopectl test -s ZPublisher
Running tests via: /opt/python-2.4.3/bin/python 
/develop/sandboxes/Zope/Zope/bin/test.py -v --config-file 
/develop/sandboxes/Zope/Zope/etc/zope.conf -s ZPublisher
Parsing /develop/sandboxes/Zope/Zope/etc/zope.conf
Running tests at level 1
Running unit tests:
  Running:
.....................................2007-01-14 11:26:30 ERROR ZPublisher 
'__before_publishing_traverse__' call 
<ZPublisher.tests.testBeforeTraverse.BrokenHook instance at 0x2ae2fa224e18> 
failed.
Traceback (most recent call last):
  File 
"/develop/sandboxes/Zope/Zope/lib/python/ZPublisher/BeforeTraverse.py", 
line 105, in __call__
    cob(container, request)
  File 
"/develop/sandboxes/Zope/Zope/lib/python/ZPublisher/tests/testBeforeTraverse.py", 
line 30, in __call__
    raise TypeError, self.__class__.__name__
TypeError: BrokenHook
2007-01-14 11:26:30 ERROR ZPublisher BeforeTraverse: Error while invoking 
hook: "broken_callable"
Traceback (most recent call last):
  File 
"/develop/sandboxes/Zope/Zope/lib/python/ZPublisher/BeforeTraverse.py", 
line 145, in __call__
    meth(*(container, request, None)[:args])
  File 
"/develop/sandboxes/Zope/Zope/lib/python/ZPublisher/tests/testBeforeTraverse.py", 
line 30, in __call__
    raise TypeError, self.__class__.__name__
TypeError: BrokenHook
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20070114/03153cf4/attachment.bin


More information about the Zope-Dev mailing list