[CMF-checkins] CVS: CMF/CMFCore/tests - test_DirectoryView.py:1.14
Andy McKay
andy@agmweb.ca
Fri, 14 Mar 2003 16:12:59 -0500
Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv29677
Modified Files:
test_DirectoryView.py
Log Message:
Test for more ignored files, bug #50
=== CMF/CMFCore/tests/test_DirectoryView.py 1.13 => 1.14 ===
--- CMF/CMFCore/tests/test_DirectoryView.py:1.13 Tue Jan 21 12:53:58 2003
+++ CMF/CMFCore/tests/test_DirectoryView.py Fri Mar 14 16:12:58 2003
@@ -113,6 +113,10 @@
"""Make sure the directory view is reading properties"""
self.assertEqual(self.ob.fake_skin.testPT.title, 'Zope Pope')
+ def test_ignored(self):
+ """ Test that the .test1.py is ignored """
+ assert('#test1' not in self.ob.fake_skin.objectIds())
+
if DevelopmentMode:
class DebugModeTests( FSDVTest ):