Changeset 3114 in products for quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests/testQPloneCommentsNotification.py
- Timestamp:
- Apr 14, 2011 4:45:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests/testQPloneCommentsNotification.py
r3113 r3114 27 27 def afterSetUp(self): 28 28 self.portal._original_MailHost = self.portal.MailHost 29 self.portal.MailHost = mailhost =MockMailHost('MailHost')29 self.portal.MailHost = MockMailHost('MailHost') 30 30 31 31 self.loginAsPortalOwner() … … 62 62 63 63 # Add testing document to portal 64 my_doc =self.portal.invokeFactory('Document', id='my_doc', title='Doc')64 self.portal.invokeFactory('Document', id='my_doc', title='Doc') 65 65 self.my_doc = self.portal['my_doc'] 66 66 self.my_doc.edit(text_format='plain', text='hello world') … … 126 126 reply = self.discussion.getDiscussionFor(self.my_doc).getReplies()[0] 127 127 reply.discussion_reply('A Reply for comment' ,'text of reply for comment') 128 reply_for_comment =self.discussion.getDiscussionFor(self.my_doc).getReplies()[0]128 self.discussion.getDiscussionFor(self.my_doc).getReplies()[0] 129 129 self.failUnless(testMailExistance(self), 'Mail was not sended when enable_reply_user_notification.') 130 130
Note: See TracChangeset
for help on using the changeset viewer.