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

Shane Hathaway shane at zope.com
Wed Jan 14 17:35:30 EST 2004


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

Modified Files:
      Tag: CMF-1_4-branch
	dummy.py 
Log Message:
Made the DummyTool support the TypesTool interface like the HEAD.

This enables DCWorkflow's tests on the HEAD to pass with CMF-1_4-branch.


=== CMF/CMFCore/tests/base/dummy.py 1.6.4.3 => 1.6.4.4 ===
--- CMF/CMFCore/tests/base/dummy.py:1.6.4.3	Mon Sep 29 07:12:35 2003
+++ CMF/CMFCore/tests/base/dummy.py	Wed Jan 14 17:35:29 2004
@@ -271,6 +271,13 @@
     def getIcon( self, relative=0 ):
         return 'Tool: %s' % relative
 
+    # TypesTool
+    def listTypeInfo(self, container=None):
+        return ( DummyObject('Dummy Content'), )
+
+    def getTypeInfo(self, contentType):
+        return ( DummyObject('Dummy Content'), )
+
     # WorkflowTool
     test_notified = None
 




More information about the CMF-checkins mailing list