[CMF-checkins] CVS: CMF/CMFCore/tests/base - dummy.py:1.13
Yvo Schubbe
cvs-admin at zope.org
Sun Nov 30 12:17:51 EST 2003
Update of /cvs-repository/CMF/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv20485/CMFCore/tests/base
Modified Files:
dummy.py
Log Message:
- moved DummyCachingManager into base/dummy.py
- fixed broken test: added getPhysicalPath() to DummyCachingManager
=== CMF/CMFCore/tests/base/dummy.py 1.12 => 1.13 ===
--- CMF/CMFCore/tests/base/dummy.py:1.12 Fri Nov 28 09:52:01 2003
+++ CMF/CMFCore/tests/base/dummy.py Sun Nov 30 12:17:20 2003
@@ -280,3 +280,12 @@
def notifyCreated(self, ob):
self.test_notified = ob
+
+
+class DummyCachingManager:
+
+ def getHTTPCachingHeaders( self, content, view_name, keywords, time=None ):
+ return ( ( 'foo', 'Foo' ), ( 'bar', 'Bar' ) )
+
+ def getPhysicalPath(self):
+ return ('baz',)
More information about the CMF-checkins
mailing list