#NEWLINE# def testLoadOnly( self ) : #NEWLINE# #INDENT# 'load only is only used in redis' #NEWLINE# session = self . session ( ) #NEWLINE# qs = session . query ( self . model ) . where ( 'this.vega > this.delta' , load_only = ( 'vega' , 'foo' , 'delta' ) ) #NEWLINE# qs = ( yield qs . all ( ) ) #NEWLINE# self . assertTrue ( qs ) #NEWLINE# for m in qs : #NEWLINE# #INDENT# self . assertTrue ( ( m . vega > qs . delta ) )