[CMF-checkins] CVS: Products/CMFCore/tests -
testCookieCrumbler.py:1.3
Florent Guillaume
fg at nuxeo.com
Fri Jul 16 09:08:14 EDT 2004
Update of /cvs-repository/Products/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv5585
Modified Files:
testCookieCrumbler.py
Log Message:
Fixing unit test after cache-control's default value changed.
=== Products/CMFCore/tests/testCookieCrumbler.py 1.2 => 1.3 ===
--- Products/CMFCore/tests/testCookieCrumbler.py:1.2 Tue Feb 10 10:54:27 2004
+++ Products/CMFCore/tests/testCookieCrumbler.py Fri Jul 16 09:08:13 2004
@@ -209,14 +209,14 @@
self.req.cookies['__ac_name'] = 'abraham'
self.req.cookies['__ac_password'] = 'pass-w'
self.req.traverse('/')
- self.assertEqual(self.req.response['cache-control'], 'no-cache')
+ self.assertEqual(self.req.response['cache-control'], 'private')
def testCacheHeaderAuthenticated(self):
# Should set cache-control
self.req.cookies['__ac'] = self.credentials
self.req.traverse('/')
- self.assertEqual(self.req.response['cache-control'], 'no-cache')
+ self.assertEqual(self.req.response['cache-control'], 'private')
def testCacheHeaderDisabled(self):
More information about the CMF-checkins
mailing list