'test inherited fields.'

def test_26_inherited(self):

    for user in self.env['res.users'].search([]):
        partner = user.partner_id
        for field in ('is_company', 'name', 'email', 'country_id'):
            self.assertEqual(getattr(user, field), getattr(partner, field))
            self.assertEqual(user[field], partner[field])
