test dict api for RepliesTest fixed (conversation returns all comments, replies return only top level comments).

svn path=/plone.app.discussion/trunk/; revision=27088
This commit is contained in:
Timo Stollenwerk 2009-05-24 15:30:16 +00:00
parent cc45041a97
commit a3ac44763b

View File

@ -423,8 +423,8 @@ class RepliesTest(PloneTestCase):
# TODO: This isn't correct. Only the two top-level comments
# should be there
#self.assertEquals(conversation.total_comments, 2)
self.assertEquals(conversation.total_comments, 6)
self.assertEquals(len(replies), 2)
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)