'Incoming email from a known partner on a Partners alias -> ok (+ test on alias.user_id)'

@mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
def test_message_process_alias_partner(self):

    self.alias.write({'alias_contact': 'partners'})
    new_groups = self.format_and_process(MAIL_TEMPLATE, email_from='Valid    Lelitre    <valid.lelitre@agrolait.com>', to='groups@example.com,    valid.other@gmail.com')
    self.assertEqual(len(new_groups), 1, 'message_process:    a    new    mail.channel    should    have    been    created')
    self.assertEqual(len(new_groups.message_ids), 1, 'message_process:    newly    created    group    should    have    the    incoming    email    in    message_ids')
