Skip to content
Snippets Groups Projects
Commit 5dbf4c56 authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[FIX] test_mail: please bring back our send method !


A patched method was not unpatched. Which triggered issues in a staging
master branch trying to untie a bit mail tests.

closes odoo/odoo#40046

Signed-off-by: default avatarXavier Dollé (xdo) <xdo@odoo.com>
parent baad02d0
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,8 @@ class TestMailRace(common.TransactionCase, mail_common.MockEmails):
self.assertEqual(notif.notification_status, 'sent')
# some cleaning since we commited the cr
self.env['ir.mail_server']._revert_method('send_email')
notif.unlink()
message.unlink()
mail.unlink()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment