fix for "TypeError: can't pickle OIBTreeItems objects".

svn path=/plone.app.discussion/trunk/; revision=27778
This commit is contained in:
Timo Stollenwerk
2009-07-02 17:50:20 +00:00
parent d7bbee3a99
commit 41010fb32a
3 changed files with 8 additions and 2 deletions
@@ -422,6 +422,8 @@ class ConversationTest(PloneTestCase):
# object, as we just want to check the Conversation object API.
conversation = IConversation(self.portal.doc1)
self.assertEquals(conversation.total_comments, 0)
# Add a four comments from three different users
# Note: in real life, we always create
# comments via the factory to allow different factories to be