'test item getter'

def test_01_basic_get_assertion(self):

    record = self.env.ref('test_new_api.message_0_0')
    self.assertEqual(len(record), 1)
    ok = record.body
    records = self.env['test_new_api.message'].search([])
    assert (len(records) > 1)
    with self.assertRaises(ValueError):
        faulty = records.body
