[CMF-checkins] CVS: CMF/CMFCore/tests - test_PortalFolder.py:1.15.2.3

Chris Withers chrisw@nipltd.com
Fri, 15 Feb 2002 07:21:47 -0500


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

Modified Files:
      Tag: ChrisW-refactor_tests-branch
	test_PortalFolder.py 
Log Message:
Removd a test that didn't appear to test anything. Please let me knwo if it did ;-)

=== CMF/CMFCore/tests/test_PortalFolder.py 1.15.2.2 => 1.15.2.3 ===
         assert has_path( catalog._catalog, '/test/sub3/dummy' )
 
-class PortalFolderPermissionTests( SecurityTest ):
-
-    def setUp( self ):
-        
-        SecurityTest.setUp(self)
-        
-        self.manager = OmnipotentUser().__of__( self.root )
-        self.member = UserWithRoles(['Member']).__of__( self.root )
-        self.root._setObject( 'folder', PortalFolder( 'folder', '' ) )
-        self.folder = self.root.folder
-        self.folder._setObject( 'doc1', DummyContent( 'doc1' ) )
-        self.folder._setObject( 'doc2', DummyContent( 'doc2' ) )
-        self.folder._setObject( 'doc3', DummyContent( 'doc3' ) )
-    
-    def test_listFolderContentsPerms( self ):
-        pass
-
 class DummyContentWithMetadata( DummyContent ):
 
     def Title( self ):
@@ -566,7 +549,6 @@
 def test_suite():
     return TestSuite((
         makeSuite( PortalFolderTests ),
-        makeSuite( PortalFolderPermissionTests ),
         makeSuite( ContentFilterTests ),
         ))