[Zope3-checkins] CVS: Zope3/lib/python/Zope/Publisher/tests - TestPublication.py:1.3.14.1 testIPublication.py:1.4.10.1 testPublisher.py:1.3.16.1

Rakesh Naidu rnaidu@zeomega.com
Fri, 18 Oct 2002 09:01:33 -0400


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

Modified Files:
      Tag: ErrorReportingService-branch
	TestPublication.py testIPublication.py testPublisher.py 
Log Message:
New parameter(object) has been added to handleException Method 


=== Zope3/lib/python/Zope/Publisher/tests/TestPublication.py 1.3 => 1.3.14.1 ===
--- 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	Fri Oct 18 09:01:02 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.4.10.1 ===
--- 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	Fri Oct 18 09:01:02 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/testPublisher.py 1.3 => 1.3.16.1 ===
--- 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	Fri Oct 18 09:01:02 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):