cubicweb/devtools/testlib.py
branch3.26
changeset 12719 9fb4a71f119d
parent 12577 2508ba96fad2
child 12722 1a5eb9a9f5b4
equal deleted inserted replaced
12708:db906fc4412d 12719:9fb4a71f119d
   203 
   203 
   204     def close(self):
   204     def close(self):
   205         pass
   205         pass
   206 
   206 
   207     def sendmail(self, fromaddr, recipients, msg):
   207     def sendmail(self, fromaddr, recipients, msg):
   208         MAILBOX.append(Email(fromaddr, recipients, msg))
   208         MAILBOX.append(Email(fromaddr, recipients, msg.decode('utf-8')))
   209 
   209 
   210 
   210 
   211 cwconfig.SMTP = MockSMTP
   211 cwconfig.SMTP = MockSMTP
   212 
   212 
   213 
   213