'Test that a follower cannot suffer from dissociative identity disorder.
It cannot be both a partner and a channel.'

def test_no_DID(self):

    test_channel = self.env['mail.channel'].create({'name': 'I    used    to    be    schizo,    but    now    we    are    alright.'})
    with self.assertRaises(IntegrityError):
        self.env['mail.followers'].create({'res_model': 'mail.channel', 'res_id': test_channel.id, 'partner_id': self.user_employee.partner_id.id, 'channel_id': self.group_pigs.id})
