[Zope3-checkins] CVS: Zope3/src/zope/app/utilities/tests - test_session.py:1.4

Stuart Bishop zen at shangri-la.dropbear.id.au
Sun Feb 22 20:02:57 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/utilities/tests
In directory cvs.zope.org:/tmp/cvs-serv16490/src/zope/app/utilities/tests

Modified Files:
	test_session.py 
Log Message:
Correct behavior of get()


=== Zope3/src/zope/app/utilities/tests/test_session.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/utilities/tests/test_session.py:1.3	Tue Feb 10 10:16:23 2004
+++ Zope3/src/zope/app/utilities/tests/test_session.py	Sun Feb 22 20:02:56 2004
@@ -204,8 +204,8 @@
     >>> [x for x in session]
     ['color']
     >>> del session['color']
-    >>> session.get('color', 'missing')
-    'missing'
+    >>> session.get('color') is None
+    True
     """
 
 




More information about the Zope3-Checkins mailing list