[Zope-Checkins] CVS: Zope/lib/python/OFS/tests - testObjectManager.py:1.1.6.3

Casey Duncan casey@zope.com
Wed, 27 Mar 2002 15:25:53 -0500


Update of /cvs-repository/Zope/lib/python/OFS/tests
In directory cvs.zope.org:/tmp/cvs-serv13008/OFS/tests

Modified Files:
      Tag: casey-death_to_index_html-branch
	testObjectManager.py 
Log Message:
Refactored death to index_html implementation to handle the root app object,
and for better bw compatibility with products subclassing
ObjectManager/Folder and legacy Folder instances. Previous implementation was
a bit overzealous by default. 


=== Zope/lib/python/OFS/tests/testObjectManager.py 1.1.6.2 => 1.1.6.3 ===
         self.assertEqual( self.folder1.getBrowserDefaultId(), 'other_html')
         self.assertEqual( self.folder2.getBrowserDefaultId(), None )
+        print self.folder2.getBrowserDefaultId(1)
         self.assertEqual( self.folder2.getBrowserDefaultId(1), 'other_html' )
         self.folder1.setBrowserDefaultId(acquire=1)
         self.failUnless( self.folder1.isBrowserDefaultAcquired() )