new_contents: from sqlobject import *
  from sqlobject.tests.dbtest import *
  
  
  ########################################
  # Test hashing a column instance
  ########################################
  
  
  class ClassHashTest(SQLObject):
      name = StringCol(length=50, alternateID=True, dbName='name_col')
  
  
  def test_class_hash():
      setupClass(ClassHashTest)
      ClassHashTest(name='bob')
  
      conn = ClassHashTest._connection
      b = ClassHashTest.byName('bob')
      hashed = hash(b)
      b.expire()
      b = ClassHashTest.byName('bob')
      assert hash(b) == hashed
  
subject: Add simple test case for hash implementation