summaryrefslogtreecommitdiff
path: root/service/test/adapter/pixelated_mail_sender_test.py
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-09-12 11:53:12 -0300
committerPatrick Maia <pmaia@thoughtworks.com>2014-09-15 11:54:32 -0300
commit6079196a9237ff1ae77ffb2bbc66f8bdc8698711 (patch)
tree26a105c1c220a290e3a0acb92277517d01c6d524 /service/test/adapter/pixelated_mail_sender_test.py
parent03f7ece809492f8b3c295065a14833b78cbd58d8 (diff)
When adding draft, return the mail with the new draft id so the UI can update it later
Diffstat (limited to 'service/test/adapter/pixelated_mail_sender_test.py')
-rw-r--r--service/test/adapter/pixelated_mail_sender_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/adapter/pixelated_mail_sender_test.py b/service/test/adapter/pixelated_mail_sender_test.py
index 4bac327c..b41f1d0c 100644
--- a/service/test/adapter/pixelated_mail_sender_test.py
+++ b/service/test/adapter/pixelated_mail_sender_test.py
@@ -33,7 +33,7 @@ class PixelatedMailSenderTest(unittest.TestCase):
mail_dict['header']['bcc'] = ['bcc@pixelated.org', 'anotherbcc@pixelated.org']
mail = PixelatedMail.from_dict(mail_dict)
- mail.to_smtp_format = lambda : "mail as smtp string"
+ mail.to_smtp_format = lambda: "mail as smtp string"
self.mail_sender.sendmail(mail)