fix: Update failing email_account unit tests that don't play with nh3
This commit is contained in:
parent
3b1ae43e94
commit
a5ef0104f1
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue