Ignore:
Timestamp:
Feb 11, 2010 5:06:25 PM (14 years ago)
Author:
kroman0
Message:

Fixed tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests/testQPloneCommentsNotificationRecipients.py

    r1633 r1719  
    9393        messages = [str(m) for m in mails if REXP_TO.search(str(m)) and REXP_TO.search(str(m)).group(1)==to] 
    9494        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],\ 
    9796             "There is no message for '%s' recipient with '%s' subject" % (to,subj)) 
    9897 
Note: See TracChangeset for help on using the changeset viewer.