diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-11-08 14:32:06 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-12 08:39:24 +0000 |
| commit | 9ad3564ac9b0c1ba79fbe1badfa199a511cbe60b (patch) | |
| tree | 48884d5eb53d0782ac4d5ecc9ab4d17e2613dbe2 | |
| parent | f52bcddcccba619253352097ede7a889edb8e8e0 (diff) | |
[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#40099
X-original-commit: 5dbf4c56765c3661eb2dca24e90bc0b420918e9a
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
| -rw-r--r-- | addons/test_mail/tests/test_mail_mail.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/test_mail/tests/test_mail_mail.py b/addons/test_mail/tests/test_mail_mail.py index 912ed491aa9..76af7b66953 100644 --- a/addons/test_mail/tests/test_mail_mail.py +++ b/addons/test_mail/tests/test_mail_mail.py @@ -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() |
