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

Stuart Bishop zen at shangri-la.dropbear.id.au
Sun Feb 8 22:27:14 EST 2004


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

Modified Files:
      Tag: ozzope-session-branch
	test_session.py 
Log Message:
Finish nuking old Session Id service


=== Zope3/src/zope/app/utilities/tests/test_session.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/utilities/tests/test_session.py:1.1.2.2	Sun Feb  8 22:09:00 2004
+++ Zope3/src/zope/app/utilities/tests/test_session.py	Sun Feb  8 22:27:13 2004
@@ -199,13 +199,16 @@
     Make sure getSession works
 
     >>> session1 = getSession(root, request, 'products.foo')
-    >>> session2 = getSession(root, request, 'products.bar')
+    >>> session2 = getSession(root, request, 'products.bar', 'persistent')
+    >>> session3 = getSession(root, request, 'products.baz', pdc)
 
     Make sure it returned sane values
 
     >>> ISession.isImplementedBy(session1)
     True
     >>> ISession.isImplementedBy(session2)
+    True
+    >>> ISession.isImplementedBy(session3)
     True
 
     Make sure that product_ids don't share a namespace




More information about the Zope3-Checkins mailing list