[CMF-checkins] CVS: CMF/CMFCore/tests - test_DirectoryView.py:1.4.8.1

Shane Hathaway shane@cvs.zope.org
Wed, 10 Apr 2002 14:08:13 -0400


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

Modified Files:
      Tag: CMF-1_3-branch
	test_DirectoryView.py 
Log Message:
Merge from head


=== CMF/CMFCore/tests/test_DirectoryView.py 1.4 => 1.4.8.1 ===
         self.assertEqual(self.ob.fake_skin.test1(),'test1')
 
+    def test_properties(self):
+        """Make sure the directory view is reading properties"""
+        self.assertEqual(self.ob.fake_skin.testPT.title, 'Zope Pope')
+
+
 test1path = join(skin_path_name,'test1.py')
 test2path = join(skin_path_name,'test2.py')
 test3path = join(skin_path_name,'test3')
@@ -98,7 +103,7 @@
         except (IOError,OSError):
             # it might be gone already
             pass
-        
+
     def test_AddNewMethod( self ):
         """
         See if a method added to the skin folder can be found