[Zope-Checkins] SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt Adapt example tests to 'handle_errors' fix (r38608).

Stefan H. Holek stefan at epy.co.at
Fri Oct 28 04:14:45 EDT 2005


Log message for revision 39686:
  Adapt example tests to 'handle_errors' fix (r38608).
  

Changed:
  U   Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt

-=-
Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
===================================================================
--- Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt	2005-10-28 08:12:47 UTC (rev 39685)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt	2005-10-28 08:14:45 UTC (rev 39686)
@@ -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