Changeset 1719 in products for quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests/testQPloneCommentsNotificationRecipients.py
- Timestamp:
- Feb 11, 2010 5:06:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests/testQPloneCommentsNotificationRecipients.py
r1633 r1719 93 93 messages = [str(m) for m in mails if REXP_TO.search(str(m)) and REXP_TO.search(str(m)).group(1)==to] 94 94 self.failUnless(len(messages) > 0, "No message sent to '%s' recipient" % to) 95 mangled = str(Header(subj, 'utf-8')) 96 self.failUnless([1 for m in messages if REXP_SUBJ.search(m) and REXP_SUBJ.search(m).group(1)==mangled],\ 95 self.failUnless([1 for m in messages if REXP_SUBJ.search(m) and REXP_SUBJ.search(m).group(1)==subj],\ 97 96 "There is no message for '%s' recipient with '%s' subject" % (to,subj)) 98 97
Note: See TracChangeset
for help on using the changeset viewer.