[Zope3-checkins] CVS: Zope3/lib/python/Zope/Publisher/tests - TestPublication.py:1.4 testIPublication.py:1.5 testMapply.py:1.3 testPublisher.py:1.4

Jim Fulton jim@zope.com
Wed, 23 Oct 2002 12:00:21 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/tests
In directory cvs.zope.org:/tmp/cvs-serv8321/lib/python/Zope/Publisher/tests

Modified Files:
	TestPublication.py testIPublication.py testMapply.py 
	testPublisher.py 
Log Message:
Merging in the work done by Naveen and Rakesh on the
ErrorReportingService-branch branch.

There is now an error reporting service that works like the Zope 2.6
site error log. Yay!


=== Zope3/lib/python/Zope/Publisher/tests/TestPublication.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/Publisher/tests/TestPublication.py:1.3	Tue Jun 18 10:47:07 2002
+++ Zope3/lib/python/Zope/Publisher/tests/TestPublication.py	Wed Oct 23 12:00:21 2002
@@ -46,7 +46,7 @@
         '''See interface IPublication'''
         return app
 
-    def handleException(self, request, exc_info, retry_allowed=1):
+    def handleException(self, object, request, exc_info, retry_allowed=1):
         '''See interface IPublication'''
         try:
             request.response.setBody("%s: %s" % (exc_info[:2]))


=== Zope3/lib/python/Zope/Publisher/tests/testIPublication.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/Publisher/tests/testIPublication.py:1.4	Wed Jul 17 12:54:22 2002
+++ Zope3/lib/python/Zope/Publisher/tests/testIPublication.py	Wed Oct 23 12:00:21 2002
@@ -95,7 +95,7 @@
             exc_info = sys.exc_info()
 
         try:
-            self._publication.handleException(self._request, exc_info)
+            self._publication.handleException(object, self._request, exc_info)
         finally:
             exc_info = 0
 


=== Zope3/lib/python/Zope/Publisher/tests/testMapply.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/Publisher/tests/testMapply.py:1.2	Mon Jun 10 19:29:33 2002
+++ Zope3/lib/python/Zope/Publisher/tests/testMapply.py	Wed Oct 23 12:00:21 2002
@@ -15,6 +15,7 @@
 
 from Zope.Publisher.mapply import mapply
 
+
 class MapplyTests(unittest.TestCase):
     def testMethod(self):
         def compute(a,b,c=4):


=== Zope3/lib/python/Zope/Publisher/tests/testPublisher.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/Publisher/tests/testPublisher.py:1.3	Tue Jun 11 11:53:25 2002
+++ Zope3/lib/python/Zope/Publisher/tests/testPublisher.py	Wed Oct 23 12:00:21 2002
@@ -31,7 +31,7 @@
 
 class TestPublication(DefaultPublication):
     # Override handleException to reraise for testing purposes
-    def handleException(self, request, exc_info, retry_allowed=1):
+    def handleException(self, object, request, exc_info, retry_allowed=1):
         raise exc_info[0], exc_info[1], exc_info[2]
 
 class PublisherTests(unittest.TestCase):