From d6c2906d447b18ff7949e064045c1aaed047d909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=A1zquez=20Acosta?= Date: Mon, 13 Nov 2017 10:41:03 -0500 Subject: [PATCH] [FIX] mail: access the super of TestMailGroup Instead of the parent of TestMail class Closes #20728 --- addons/mail/tests/test_mail_channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/tests/test_mail_channel.py b/addons/mail/tests/test_mail_channel.py index 1c43f79edaf..e50f493426e 100644 --- a/addons/mail/tests/test_mail_channel.py +++ b/addons/mail/tests/test_mail_channel.py @@ -31,7 +31,7 @@ class TestMailGroup(TestMail): def mail_group_message_get_recipient_values(self, cr, uid, ids, notif_message=None, recipient_ids=None, context=None): return self.pool['mail.thread'].message_get_recipient_values(cr, uid, ids, notif_message=notif_message, recipient_ids=recipient_ids, context=context) cls.env['mail.channel']._patch_method('message_get_recipient_values', mail_group_message_get_recipient_values) - super(TestMail, cls).tearDownClass() + super(TestMailGroup, cls).tearDownClass() @mute_logger('openerp.addons.base.ir.ir_model', 'openerp.models') def test_access_rights_public(self):