[Checkins] SVN: Products.Five/trunk/browser/tests/provider.txt make test more tolerant towards different test setups (why running tests

Philipp von Weitershausen philikon at philikon.de
Tue May 2 05:53:32 EDT 2006


Log message for revision 67822:
  make test more tolerant towards different test setups (why running tests
  as part of Zope has different effects on error handling than when running
  them separately is beyond me)
  

Changed:
  U   Products.Five/trunk/browser/tests/provider.txt

-=-
Modified: Products.Five/trunk/browser/tests/provider.txt
===================================================================
--- Products.Five/trunk/browser/tests/provider.txt	2006-05-02 09:31:16 UTC (rev 67821)
+++ Products.Five/trunk/browser/tests/provider.txt	2006-05-02 09:53:32 UTC (rev 67822)
@@ -94,17 +94,15 @@
     </body>
   </html>
 
-
 Failure to lookup a Content Provider
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
   >>> print http(r'''
   ... GET /test_folder_1_/content_obj/error.html HTTP/1.1
-  ... ''')
-  HTTP/1.1 500 Internal Server Error
-  ...
-  ...ContentProviderLookupError: mypage.UnknownName
-  ...
+  ... ''', handle_errors=False)
+  Traceback (most recent call last):
+    ...
+  ContentProviderLookupError: ...mypage.UnknownName...
 
 Additional Data from TAL
 ~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Checkins mailing list