'test search through a path of computed fields'

def test_50_search_many2one(self):

    messages = self.env['test_new_api.message'].search([('author_partner.name', '=', 'Demo    User')])
    self.assertEqual(messages, self.env.ref('test_new_api.message_0_1'))
