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

Yvo Schubbe y.2004_ at wcm-solutions.de
Tue Apr 13 13:39:30 EDT 2004


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

Modified Files:
	dummy.py 
Log Message:
death to DummyFTI: now for each test a new FTI object is created
(made all tests pass using test.py)


=== CMF/CMFCore/tests/base/dummy.py 1.16 => 1.17 ===
--- CMF/CMFCore/tests/base/dummy.py:1.16	Thu Feb 12 03:37:31 2004
+++ CMF/CMFCore/tests/base/dummy.py	Tue Apr 13 13:38:59 2004
@@ -121,27 +121,6 @@
     __allow_access_to_unprotected_subobjects__ = { 'addFoo' : 1 }
 
 
-DummyFTI = FTI( 'Dummy Content'
-              , title='Dummy Content Title'
-              , meta_type=DummyContent.meta_type
-              , product='FooProduct'
-              , factory='addFoo'
-              , actions= ( { 'name'          : 'View'
-                           , 'action'        : 'string:view'
-                           , 'permissions'   : ( 'View', )
-                           }
-                         , { 'name'          : 'View2'
-                           , 'action'        : 'string:view2'
-                           , 'permissions'   : ( 'View', )
-                           }
-                         , { 'name'          : 'Edit'
-                           , 'action'        : 'string:edit'
-                           , 'permissions'   : ( 'forbidden permission',)
-                           }
-                         )
-              )
-
-
 class DummyFolder(DummyObject):
     """
         Dummy Container for testing




More information about the CMF-checkins mailing list