remove allow_discussion test, since it is unnecessary.
svn path=/plone.app.discussion/trunk/; revision=28023
This commit is contained in:
parent
356db660b0
commit
39e0faffc9
@ -37,10 +37,9 @@ class MigrationTest(PloneTestCase):
|
||||
|
||||
def test_migrate_comment(self):
|
||||
|
||||
# Create one comment
|
||||
# Create a comment
|
||||
talkback = self.discussion.getDiscussionFor(self.doc)
|
||||
self.doc.talkback.createReply('My Title', 'My Text', Creator='Jim')
|
||||
#reply = talkback.objectValues()[0]
|
||||
reply = talkback.getReplies()[0]
|
||||
reply.setReplyTo(self.doc)
|
||||
reply.creation_date = DateTime(2003, 3, 11, 9, 28, 6)
|
||||
@ -56,7 +55,6 @@ class MigrationTest(PloneTestCase):
|
||||
|
||||
# Make sure a conversation has been created
|
||||
self.failUnless('plone.app.discussion:conversation' in IAnnotations(self.doc))
|
||||
|
||||
conversation = IConversation(self.doc)
|
||||
|
||||
# Check migration
|
||||
@ -73,9 +71,6 @@ class MigrationTest(PloneTestCase):
|
||||
[{'comment': comment1, 'depth': 0, 'id': long(comment1.id)},]
|
||||
, list(conversation.getThreads()))
|
||||
|
||||
def test_migrate_allow_discussion(self):
|
||||
pass
|
||||
|
||||
def test_migrate_nested_comments(self):
|
||||
# Create some nested comments and migrate them
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user