[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt Adapt example tests to 'handle_errors' fix (r38599).

Stefan H. Holek stefan at epy.co.at
Fri Oct 28 04:12:47 EDT 2005


Log message for revision 39685:
  Adapt example tests to 'handle_errors' fix (r38599).
  

Changed:
  U   Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt

-=-
Modified: Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt	2005-10-28 03:11:34 UTC (rev 39684)
+++ Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt	2005-10-28 08:12:47 UTC (rev 39685)
@@ -112,7 +112,7 @@
 
   >>> print http(r"""
   ... GET /test_folder_1_/script?a=2 HTTP/1.1
-  ... """, handle_errors=False)
+  ... """, handle_errors=True)
   HTTP/1.1 500 Internal Server Error
   ...Content-Type: text/html...TypeError...
 
@@ -121,7 +121,7 @@
   >>> self.folder.index_html.manage_permission('View', ['Owner'])
   >>> print http(r"""
   ... GET /test_folder_1_/index_html HTTP/1.1
-  ... """, handle_errors=False)
+  ... """, handle_errors=True)
   HTTP/1.1 401 Unauthorized
   ...
 



More information about the Zope-Checkins mailing list