[Zope3-checkins] CVS: Zope3/src/zope/publisher/tests - test_browserresponse.py:1.3 test_http.py:1.4

Steve Alexander steve@cat-box.net
Sun, 2 Mar 2003 13:09:04 -0500


Update of /cvs-repository/Zope3/src/zope/publisher/tests
In directory cvs.zope.org:/tmp/cvs-serv8037/src/zope/publisher/tests

Modified Files:
	test_browserresponse.py test_http.py 
Log Message:
A keyword argument value of None when setting a cookie causes that
keyword argument to be ignored. This is useful when you have a case
where you sometimes want to set that value, and sometimes do not.

Made the lifespan of cookies in the session cookie service come from
an instance variable, rather than being hard-coded.


=== Zope3/src/zope/publisher/tests/test_browserresponse.py 1.2 => 1.3 ===
--- Zope3/src/zope/publisher/tests/test_browserresponse.py:1.2	Wed Dec 25 09:15:19 2002
+++ Zope3/src/zope/publisher/tests/test_browserresponse.py	Sun Mar  2 13:09:03 2003
@@ -84,13 +84,6 @@
                      )
 
 
-
-
-
-
-
-
-
 def test_suite():
     return TestSuite((
         makeSuite(Test),


=== Zope3/src/zope/publisher/tests/test_http.py 1.3 => 1.4 ===
--- Zope3/src/zope/publisher/tests/test_http.py:1.3	Fri Feb  7 10:41:23 2003
+++ Zope3/src/zope/publisher/tests/test_http.py	Sun Mar  2 13:09:03 2003
@@ -156,7 +156,7 @@
         self.assertEqual(r.method, 'SPAM')
         r = self._createRequest(extra_env={'REQUEST_METHOD':'eggs'})
         self.assertEqual(r.method, 'EGGS')
-        
+
 
 def test_suite():
     loader = unittest.TestLoader()