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

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


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

Modified Files:
	test_DirectoryView.py 
Log Message:
Fixed reading of ".properties" files


=== CMF/CMFCore/tests/test_DirectoryView.py 1.4 => 1.5 ===
         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