delete old replies and talkbacks during the migration.

svn path=/plone.app.discussion/trunk/; revision=28052
This commit is contained in:
Timo Stollenwerk
2009-07-13 20:22:37 +00:00
parent dcb3665d36
commit 8bc0b068ae
2 changed files with 42 additions and 17 deletions
@@ -70,6 +70,7 @@ class MigrationTest(PloneTestCase):
self.assertEquals(
[{'comment': comment1, 'depth': 0, 'id': long(comment1.id)},]
, list(conversation.getThreads()))
self.failIf(self.doc.talkback)
def test_migrate_nested_comments(self):
# Create some nested comments and migrate them