Ejemplo n.º 1
0
 def afterSetUp(self):
     from Products.ATContentTypes.interface import ITextContent
     self.board = _createObjectByType('Ploneboard', self.folder, 'board')
     self.forum = _createObjectByType('PloneboardForum', self.board,
                                      'forum')
     self.conv = self.forum.addConversation('conv1', 'conv1 body')
     self.comment = self.conv.addComment("c1 title", "c1 body")
     self.textContent = ITextContent(self.comment)