'test computed fields as returned by read().'

def test_30_read(self):

    discussion = self.env.ref('test_new_api.discussion_0')
    for message in discussion.messages:
        display_name = message.display_name
        size = message.size
        data = message.read(['display_name', 'size'])[0]
        self.assertEqual(data['display_name'], display_name)
        self.assertEqual(data['size'], size)
