From 39e0faffc9214115e710ac59ff6390c500148b0b Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sun, 12 Jul 2009 18:19:29 +0000 Subject: [PATCH] remove allow_discussion test, since it is unnecessary. svn path=/plone.app.discussion/trunk/; revision=28023 --- plone/app/discussion/tests/test_migration.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/plone/app/discussion/tests/test_migration.py b/plone/app/discussion/tests/test_migration.py index f291e48..4e64e11 100644 --- a/plone/app/discussion/tests/test_migration.py +++ b/plone/app/discussion/tests/test_migration.py @@ -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 #