[CMF-checkins] CVS: CMF/CMFCore/tests -
test_DirectoryView.py:1.18.4.2
Yvo Schubbe
y.2004_ at wcm-solutions.de
Mon May 17 08:34:53 EDT 2004
Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv15935/CMFCore/tests
Modified Files:
Tag: yuppie-collector210-branch
test_DirectoryView.py
Log Message:
- added test
- fixed comment
=== CMF/CMFCore/tests/test_DirectoryView.py 1.18.4.1 => 1.18.4.2 ===
--- CMF/CMFCore/tests/test_DirectoryView.py:1.18.4.1 Sun May 16 13:12:52 2004
+++ CMF/CMFCore/tests/test_DirectoryView.py Mon May 17 08:34:47 2004
@@ -29,8 +29,14 @@
self.ob = DummyFolder()
addDirectoryViews(self.ob, 'fake_skins', _prefix)
- # These, in effect, test the minimalpath and expandpath functions
- # from CMFCore.utils in combination. See DirectoryView.py for details
+ def test_getDirectoryInfo(self):
+ skin = self.ob.fake_skin
+ skin.manage_properties('CMFCore/tests/fake_skins/fake_skin')
+ self.failUnless( hasattr(self.ob.fake_skin, 'test1'),
+ self.ob.fake_skin.getDirPath() )
+
+ # 1 - 7, in effect, test the pre CMF 1.5 backwards compatibility code in
+ # DirectoryView's __of__ method. See DirectoryView.py for details
# windows INSTANCE_HOME
def test_getDirectoryInfo1(self):
More information about the CMF-checkins
mailing list