From 977491ff75bc448ef504cc76aa5b3d63e6134426 Mon Sep 17 00:00:00 2001 From: Achilles Rasquinha Date: Tue, 13 Mar 2018 00:41:37 +0530 Subject: [PATCH] fix travis test --- frappe/tests/test_email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/tests/test_email.py b/frappe/tests/test_email.py index 68fcdc5146..2fbe8fe6ba 100644 --- a/frappe/tests/test_email.py +++ b/frappe/tests/test_email.py @@ -84,7 +84,7 @@ class TestEmail(unittest.TestCase): self.assertTrue('test@example.com' in queue_recipients) self.assertTrue('test1@example.com' in queue_recipients) - self.assertTrue('This email was sent to test@example.com and copied to test1@example.com' in frappe.flags.sent_mail.decode()) + self.assertTrue('This email was sent to test@example.com and copied to test1@example.com' in frappe.safe_decode(frappe.flags.sent_mail)) def test_expose(self): from frappe.utils.verified_command import verify_request