[Zope-Checkins] SVN: Zope/branches/2.12/src/ZPublisher/tests/exception_handling.txt Lessen test condition, as the error value is printable at least on my system.

Hanno Schlichting hannosch at hannosch.eu
Thu Sep 9 08:14:33 EDT 2010


Log message for revision 116255:
  Lessen test condition, as the error value is printable at least on my system.
  

Changed:
  U   Zope/branches/2.12/src/ZPublisher/tests/exception_handling.txt

-=-
Modified: Zope/branches/2.12/src/ZPublisher/tests/exception_handling.txt
===================================================================
--- Zope/branches/2.12/src/ZPublisher/tests/exception_handling.txt	2010-09-09 12:07:38 UTC (rev 116254)
+++ Zope/branches/2.12/src/ZPublisher/tests/exception_handling.txt	2010-09-09 12:14:32 UTC (rev 116255)
@@ -160,7 +160,7 @@
     >>> browser.open('http://localhost/test_folder_1_/foo')
     Traceback (most recent call last):
     ...
-    Unauthorized: <unprintable ... object>
+    Unauthorized: ...
 
 Handle zExceptions.Unauthorized raised by BaseRequest.traverse. We take the
 'WWW-Authenticate' header as a sign that HTTPResponse._unauthorized was called.



More information about the Zope-Checkins mailing list