From a5ef0104f1bb80a26f095aca6f4220305006eda0 Mon Sep 17 00:00:00 2001 From: Alex Leach Date: Fri, 21 Nov 2025 16:36:35 +0000 Subject: [PATCH] fix: Update failing email_account unit tests that don't play with nh3 --- frappe/email/doctype/email_account/test_email_account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/email/doctype/email_account/test_email_account.py b/frappe/email/doctype/email_account/test_email_account.py index d0d77a180f..c6f88c2862 100644 --- a/frappe/email/doctype/email_account/test_email_account.py +++ b/frappe/email/doctype/email_account/test_email_account.py @@ -132,7 +132,7 @@ class TestEmailAccount(IntegrationTestCase): TestEmailAccount.mocked_email_receive(email_account, messages) comm = frappe.get_doc("Communication", {"sender": "test_sender@example.com"}) - self.assertTrue("From: "Microsoft Outlook" <test_sender@example.com>" in comm.content) + self.assertTrue('From: "Microsoft Outlook" <test_sender@example.com>' in comm.content) self.assertTrue( "This is an e-mail message sent automatically by Microsoft Outlook while" in comm.content ) @@ -153,7 +153,7 @@ class TestEmailAccount(IntegrationTestCase): TestEmailAccount.mocked_email_receive(email_account, messages) comm = frappe.get_doc("Communication", {"sender": "test_sender@example.com"}) - self.assertTrue("From: "Microsoft Outlook" <test_sender@example.com>" in comm.content) + self.assertTrue('From: "Microsoft Outlook" <test_sender@example.com>' in comm.content) self.assertTrue( "This is an e-mail message sent automatically by Microsoft Outlook while" in comm.content )