#NEWLINE# def test_select_offset( self , model_context ) : #NEWLINE# #INDENT# User = model_context [ 'User' ] #NEWLINE# session = model_context [ 'session' ] #NEWLINE# self . users ( User , session ) #NEWLINE# session . commit ( ) #NEWLINE# queryset = session . query ( User ) . filter ( ) . limit ( 1 ) . offset ( 2 ) #NEWLINE# assert ( len ( queryset ) == 1 ) #NEWLINE# assert ( [ us . id for us in queryset ] == [ 3 ] )