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:
parent
cc45041a97
commit
a3ac44763b
@ -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__)
|
Loading…
Reference in New Issue
Block a user