[CMF-checkins] CVS: Products/CMFCore/tests/base - dummy.py:1.20.2.2
Florent Guillaume
fg at nuxeo.com
Sun Nov 14 18:52:11 EST 2004
Update of /cvs-repository/Products/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv20573/CMFCore/tests/base
Modified Files:
Tag: CMF-1_5-branch
dummy.py
Log Message:
FSFile, FSImage: Made available to caching policy manager as
standard content (Collector #299).
=== Products/CMFCore/tests/base/dummy.py 1.20.2.1 => 1.20.2.2 ===
--- Products/CMFCore/tests/base/dummy.py:1.20.2.1 Tue Aug 24 15:13:47 2004
+++ Products/CMFCore/tests/base/dummy.py Sun Nov 14 18:52:10 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