From 6079196a9237ff1ae77ffb2bbc66f8bdc8698711 Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Fri, 12 Sep 2014 11:53:12 -0300 Subject: When adding draft, return the mail with the new draft id so the UI can update it later --- service/test/adapter/pixelated_mail_sender_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/test/adapter/pixelated_mail_sender_test.py') 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) -- cgit v1.2.3