[CMF-checkins] CVS: Products/CMFCore - CookieCrumbler.py:1.28
Casey Duncan
casey at zope.com
Fri Jul 16 09:16:23 EDT 2004
My bad. For some reason I had it in my mind that this was not tested. No
excuse though.
-Casey
On Fri, 16 Jul 2004 15:03:22 +0200
Florent Guillaume <fg at nuxeo.com> wrote:
> > === Products/CMFCore/CookieCrumbler.py 1.27 => 1.28 ===
> > --- Products/CMFCore/CookieCrumbler.py:1.27 Tue Jun 1 06:36:52 2004
> > +++ Products/CMFCore/CookieCrumbler.py Wed Jul 14 14:09:57 2004
> > @@ -88,7 +88,7 @@
> > unauth_page = ''
> > logout_page = 'logged_out'
> > local_cookie_path = 0
> > - cache_header_value = 'no-cache'
> > + cache_header_value = 'private'
>
> This makes unit tests fail:
>
> FAIL: testCacheHeaderAuthenticated
> (Products.CMFCore.tests.testCookieCrumbler.CookieCrumblerTests)------
> ----------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/home/zopes/zope27head.rainbow/Products/CMFCore/tests/testCookieCr
> umbler.py", line 219, in testCacheHeaderAuthenticated
> self.assertEqual(self.req.response['cache-control'], 'no-cache')
> File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
> raise self.failureException, \
> AssertionError: 'private' != 'no-cache'
>
> I'll see if it's easy to fix.
>
> Florent
>
> --
> Florent Guillaume, Nuxeo (Paris, France)
> +33 1 40 33 79 87 http://nuxeo.com mailto:fg at nuxeo.com
More information about the CMF-checkins
mailing list