Changeset 3127 in products
- Timestamp:
- Apr 18, 2011 10:25:53 AM (14 years ago)
- Location:
- quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests/testQPloneCommentsConfiglet.py
r3126 r3127 136 136 if not u == 'anonym': 137 137 self.login(u) 138 discussion_for = self.discussion.getDiscussionFor(self. doc_obj)138 discussion_for = self.discussion.getDiscussionFor(self.my_doc) 139 139 replies = discussion_for.getReplies() 140 140 self.failUnless(replies, "No discussion item added or discussion " -
quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests/testQPloneCommentsNotification.py
r3126 r3127 222 222 mails = [str(m) for m in self.portal.MailHost.messages] 223 223 subject = 'Your comment on Doc was not approved' 224 subjects = REXP_SUBJ.search(m).group(1)225 224 self.failUnless([1 226 225 for m in mails -
quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests/testQPloneCommentsNotificationRecipients.py
r3126 r3127 32 32 self.request = self.app.REQUEST 33 33 creator = self.membership.getAuthenticatedMember() 34 self.request.form['Creator'] = creator.getUserName() 34 35 subject = "Reply of '%s'" % self.request.form['Creator'] 35 self.request.form['Creator'] = creator.getUserName()36 36 self.request.form['subject'] = subject 37 37 self.request.form['body_text'] = "text of reply"
Note: See TracChangeset
for help on using the changeset viewer.