[CMF-checkins] CVS: CMF/CMFDefault/tests - test_Discussions.py:1.16
Yvo Schubbe
y.2004_ at wcm-solutions.de
Tue Jan 20 15:11:39 EST 2004
Update of /cvs-repository/CMF/CMFDefault/tests
In directory cvs.zope.org:/tmp/cvs-serv17206/CMFDefault/tests
Modified Files:
test_Discussions.py
Log Message:
fixed Discussion bug:
- always call addCreator
=== CMF/CMFDefault/tests/test_Discussions.py 1.15 => 1.16 ===
--- CMF/CMFDefault/tests/test_Discussions.py:1.15 Tue Dec 23 16:47:26 2003
+++ CMF/CMFDefault/tests/test_Discussions.py Tue Jan 20 15:11:39 2004
@@ -120,8 +120,9 @@
reply1 = talkback.getReplies()[0]
items = talkback._container.items()
- assert items[0][0] == reply1.getId()
- assert reply1.inReplyTo() == test
+ self.assertEqual( reply1.getId(), items[0][0] )
+ self.assertEqual( reply1.inReplyTo(), test )
+ self.assertEqual( reply1.listCreators(), ('dummy',) )
parents = reply1.parentsInThread()
assert len( parents ) == 1
More information about the CMF-checkins
mailing list