#NEWLINE# def test_range_date_year_null( self ) : #NEWLINE# #INDENT# with db_session : #NEWLINE# #INDENT# object1 = RangeDateYear ( name = 'foo' ) #NEWLINE# commit ( ) #NEWLINE# object2 = RangeDateYear . get_by_sql ( 'SELECT * FROM test_rangedateyear_null WHERE id = $object1.id' ) #NEWLINE# #UNINDENT# self . assertTrue ( object1 . name , object2 . name )