'test accessing new fields'

def test_00_basics(self):

    discussion = self.env.ref('test_new_api.discussion_0')
    self.assertIsInstance(discussion.name, basestring)
    self.assertIsInstance(discussion['name'], basestring)
    self.assertEqual(discussion['name'], discussion.name)
    values = discussion.read(['name'])[0]
    self.assertEqual(values['name'], discussion.name)
