old_contents: from openerp.osv import orm, fields
  
  class TestObject(orm.Model):
      _name = 'web_tests_demo.model'
  
      _columns = {
          'name': fields.char("Name", required=True),
          'thing': fields.char("Thing"),
          'other': fields.char("Other", required=True)
      }
      _defaults = {
          'other': "bob"
      }
  
  
new_contents: from openerp.osv import orm, fields
  
  class TestObject(orm.TransientModel):
      _name = 'web_tests_demo.model'
  
      _columns = {
          'name': fields.char("Name", required=True),
          'thing': fields.char("Thing"),
          'other': fields.char("Other", required=True)
      }
      _defaults = {
          'other': "bob"
      }
  
  
subject: make test model a TransientModel. This avoid a warning about the lack of access rules