diff --git a/frappe/core/doctype/communication/test_communication.py b/frappe/core/doctype/communication/test_communication.py index 40af4053ad..1f0b2f1519 100644 --- a/frappe/core/doctype/communication/test_communication.py +++ b/frappe/core/doctype/communication/test_communication.py @@ -222,11 +222,19 @@ class TestCommunication(FrappeTestCase): to = "Jon Doe " cc = """=?UTF-8?Q?Max_Mu=C3=9F?= , erp+Customer=Plus%2BCompany@example.org, - erp+Customer+Space%20Company@example.org""" + erp+Customer+Space%20Company@example.org, + erp+Customer+Space+Company+Plus+Encoded@example.org""" bcc = "" results = list(parse_email([to, cc, bcc])) - self.assertEqual([("Customer", "Plus+Company"), ("Customer", "Space Company")], results) + self.assertEqual( + [ + ("Customer", "Plus+Company"), + ("Customer", "Space Company"), + ("Customer", "Space Company Plus Encoded"), + ], + results, + ) results = list(parse_email([to, bcc])) self.assertEqual(results, [])