[CMF-checkins] CVS: Products/CMFDefault/tests -
test_DublinCore.py:1.7
Yvo Schubbe
y.2004_ at wcm-solutions.de
Tue Oct 12 05:23:18 EDT 2004
Update of /cvs-repository/Products/CMFDefault/tests
In directory cvs.zope.org:/tmp/cvs-serv6983/CMFDefault/tests
Modified Files:
test_DublinCore.py
Log Message:
- added setCreators method
=== Products/CMFDefault/tests/test_DublinCore.py 1.6 => 1.7 ===
--- Products/CMFDefault/tests/test_DublinCore.py:1.6 Sun Aug 1 19:02:13 2004
+++ Products/CMFDefault/tests/test_DublinCore.py Tue Oct 12 05:23:18 2004
@@ -99,6 +99,10 @@
item.addCreator('user_baz')
self.assertEqual( item.listCreators(),
('user_foo', 'user_bar', 'user_baz') )
+ item.setCreators('user_bar')
+ self.assertEqual( item.listCreators(), ('user_bar',) )
+ item.setCreators( ('user_baz',) )
+ self.assertEqual( item.listCreators(), ('user_baz',) )
def test_ceiling_parsable(self):
# Test that a None ceiling date will be parsable by a DateIndex
More information about the CMF-checkins
mailing list