[Zope3-checkins] CVS: Zope3/src/zope/server/http/tests - test_publisherserver.py:1.9

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Mar 20 13:47:36 EST 2004


Update of /cvs-repository/Zope3/src/zope/server/http/tests
In directory cvs.zope.org:/tmp/cvs-serv6593/src/zope/server/http/tests

Modified Files:
	test_publisherserver.py 
Log Message:
Updated tests to handle 303 redirect changes.


=== Zope3/src/zope/server/http/tests/test_publisherserver.py 1.8 => 1.9 ===
--- Zope3/src/zope/server/http/tests/test_publisherserver.py:1.8	Mon Mar 15 15:42:14 2004
+++ Zope3/src/zope/server/http/tests/test_publisherserver.py	Sat Mar 20 13:47:35 2004
@@ -168,12 +168,12 @@
         self.testResponse(path='/_protected', status_expected=401)
 
     def testRedirectMethod(self):
-        self.testResponse(path='/redirect_method', status_expected=302)
+        self.testResponse(path='/redirect_method', status_expected=303)
 
     def testRedirectException(self):
-        self.testResponse(path='/redirect_exception', status_expected=302)
+        self.testResponse(path='/redirect_exception', status_expected=303)
         self.testResponse(path='/folder/redirect_exception',
-                          status_expected=302)
+                          status_expected=303)
 
     def testConflictRetry(self):
         # Expect the "Accepted" response since the retries will succeed.




More information about the Zope3-Checkins mailing list