'Test membership on recordset.'

@mute_logger('odoo.models')
def test_80_contains(self):

    p1 = self.env['res.partner'].search([('name', 'ilike', 'a')], limit=1).ensure_one()
    ps = self.env['res.partner'].search([('name', 'ilike', 'a')])
    self.assertTrue((p1 in ps))
