[CMF-checkins] CVS: Products/CMFCore/tests/base - dummy.py:1.22

Florent Guillaume fg at nuxeo.com
Sun Nov 14 18:58:30 EST 2004


Update of /cvs-repository/Products/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv22219/CMFCore/tests/base

Modified Files:
	dummy.py 
Log Message:
FSFile, FSImage: Made available to caching policy manager as
standard content (Collector #299).


=== Products/CMFCore/tests/base/dummy.py 1.21 => 1.22 ===
--- Products/CMFCore/tests/base/dummy.py:1.21	Tue Aug 24 15:16:32 2004
+++ Products/CMFCore/tests/base/dummy.py	Sun Nov 14 18:58:30 2004
@@ -320,7 +320,10 @@
 class DummyCachingManager:
 
     def getHTTPCachingHeaders( self, content, view_name, keywords, time=None ):
-        return ( ( 'foo', 'Foo' ), ( 'bar', 'Bar' ) )
+         return (
+             ('foo', 'Foo'), ('bar', 'Bar'),
+             ('test_path', '/'.join(content.getPhysicalPath())),
+             )
 
     def getPhysicalPath(self):
         return ('baz',)



More information about the CMF-checkins mailing list