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