[Zope-Checkins]
SVN: Products.Five/branches/1.4/browser/tests/test_traversable.py
better Zope trunk compatibility
Philipp von Weitershausen
philikon at philikon.de
Sun Mar 26 16:13:38 EST 2006
Log message for revision 66195:
better Zope trunk compatibility
Changed:
U Products.Five/branches/1.4/browser/tests/test_traversable.py
-=-
Modified: Products.Five/branches/1.4/browser/tests/test_traversable.py
===================================================================
--- Products.Five/branches/1.4/browser/tests/test_traversable.py 2006-03-26 20:55:46 UTC (rev 66194)
+++ Products.Five/branches/1.4/browser/tests/test_traversable.py 2006-03-26 21:13:37 UTC (rev 66195)
@@ -138,11 +138,10 @@
>>> print http(r'''
... GET /test_folder_1_/fancy/raise-valueerror HTTP/1.1
- ... ''')
- HTTP/1.1 500 Internal Server Error
- ...
- ...ValueError: raise-valueerror
- ...
+ ... ''', handle_errors=False)
+ Traceback (most recent call last):
+ ...
+ ValueError: raise-valueerror
Five's traversable monkeypatches the __bobo_traverse__ method to do view
lookup and then delegates back to the original __bobo_traverse__ or direct
More information about the Zope-Checkins
mailing list