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

Yvo Schubbe schubbe at web.de
Fri Jan 2 13:11:36 EST 2004


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

Modified Files:
	dummy.py 
Log Message:
- improved DummyTool for DCWorkflow tests


=== CMF/CMFCore/tests/base/dummy.py 1.14 => 1.15 ===
--- CMF/CMFCore/tests/base/dummy.py:1.14	Tue Dec 23 16:47:24 2003
+++ CMF/CMFCore/tests/base/dummy.py	Fri Jan  2 13:11:36 2004
@@ -288,6 +288,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