#NEWLINE# def test_limit_with_offset( self ) : #NEWLINE# #INDENT# query = Query ( ) . from_table ( table = 'test_table' ) . limit ( limit = 5 , offset = 20 ) #NEWLINE# query_str = query . get_sql ( ) #NEWLINE# expected_query = 'SELECT test_table.* FROM test_table LIMIT 5 OFFSET 20' #NEWLINE# self . assertEqual ( query_str , expected_query , get_comparison_str ( query_str , expected_query ) )