remove the test_dict_api from test_comments.py, since the test_dict_api from test_conversation.py tests both IReplies adapters.
svn path=/plone.app.discussion/trunk/; revision=27106
This commit is contained in:
parent
0797579bfd
commit
731f83b706
@ -173,9 +173,5 @@ class RepliesTest(PloneTestCase):
|
||||
# Make sure the first comment is still in the conversation
|
||||
self.assertEquals(conversation.total_comments, 1)
|
||||
|
||||
def test_dict_api(self):
|
||||
# ensure all operations use only top-level comments
|
||||
pass
|
||||
|
||||
def test_suite():
|
||||
return unittest.defaultTestLoader.loadTestsFromName(__name__)
|
@ -524,6 +524,9 @@ class RepliesTest(PloneTestCase):
|
||||
self.assertEquals(len(replies), 0)
|
||||
|
||||
def test_dict_api(self):
|
||||
# This test is for the ConversationReplies as well as the
|
||||
# CommentReplies adapter.
|
||||
#
|
||||
# Ensure all operations use only top-level comments. Add some
|
||||
# deeper children and ensure that these are not exposed through the
|
||||
# IReplies dict.
|
||||
|
Loading…
Reference in New Issue
Block a user