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@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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14 Jan 2007, at 11:26, Andreas Jung wrote:
Running the ZPublisher tests (on the trunk) alone results in the following error. However the tests works when running all unittests. Bug or feature?
If a test runs one way and not another there's a setup or teardown issue. It's almost always a test bug, not a bug in the tested software. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFqgXBRAx5nvEhZLIRAshnAKCgGp9Rmdk9fDm8S83RCDfzPuT1DACgmthy czZ/CnpChctxMTEXK8UA7PM= =ns+/ -----END PGP SIGNATURE-----
participants (2)
-
Andreas Jung -
Jens Vagelpohl