[CMF-checkins] CVS: Products/CMFDefault/tests -
test_DiscussionReply.py:1.1.4.3
Florent Guillaume
fg at nuxeo.com
Sun Mar 27 13:15:44 EST 2005
Update of /cvs-repository/Products/CMFDefault/tests
In directory cvs.zope.org:/tmp/cvs-serv19545
Modified Files:
Tag: CMF-1_5-branch
test_DiscussionReply.py
Log Message:
Don't test the skin but the primary createReply method.
=== Products/CMFDefault/tests/test_DiscussionReply.py 1.1.4.2 => 1.1.4.3 ===
--- Products/CMFDefault/tests/test_DiscussionReply.py:1.1.4.2 Fri Jan 21 17:00:01 2005
+++ Products/CMFDefault/tests/test_DiscussionReply.py Sun Mar 27 13:15:43 2005
@@ -47,7 +47,7 @@
def testDiscussionReply(self):
self.discussion.getDiscussionFor(self.portal.doc)
- self.portal.doc.talkback.discussion_reply('Title', 'Text')
+ self.portal.doc.talkback.createReply('Title', 'Text')
reply = self.portal.doc.talkback.objectValues()[0]
self.assertEqual(reply.Title(), 'Title')
self.assertEqual(reply.EditableBody(), 'Text')
More information about the CMF-checkins
mailing list