From 5c6b6cb4aeee62c041d82dbda9942b0f2bd77e39 Mon Sep 17 00:00:00 2001 From: Antoine Guenet Date: Fri, 22 Oct 2021 12:30:40 +0000 Subject: [PATCH] [FIX] mail: test adaptation forward port We adapted a test in mail in commit be21041f9aa385f2b9ce1b242379bf147c54b158. Basically, the test only contained mso comments and no regular comment. While the python code teats them the same, they are not semantically equivalent as mso comments actually do have side effects in outlook. The adaptation is to add a regular comment to the test data so that both comment types are properly covered by the test, even though the result is technically the same regardless. This is the only change from this commit that was not yet present in 15.2. closes odoo/odoo#84786 X-original-commit: 9275b0119ee6bb2e9a4ee5bef66b00e8c2456d3d Signed-off-by: David Monjoie (dmo) --- addons/mail/tests/test_mail_composer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/tests/test_mail_composer.py b/addons/mail/tests/test_mail_composer.py index f99e83cfe1b..11bde11084c 100644 --- a/addons/mail/tests/test_mail_composer.py +++ b/addons/mail/tests/test_mail_composer.py @@ -20,7 +20,7 @@ class TestMailComposer(MailCommon): - A link for you! + A link for you!