'test non-stored fields'

def test_10_non_stored(self):

    field = self.env['test_new_api.category']._fields['dummy']
    self.assertFalse(field.store)
    self.assertFalse(field.compute)
    self.assertFalse(field.inverse)
    for message in self.env['test_new_api.message'].search([]):
        self.assertEqual(message.size, len((message.body or '')))
        size = message.size
        message.write({'body': ((message.body or '') + '!!!')})
        self.assertEqual(message.size, (size + 3))
    record = self.env['test_new_api.mixed'].create({})
    self.assertTrue(record.now)
