#NEWLINE# def testSimpleFilter( self ) : #NEWLINE# #INDENT# session = self . session ( ) #NEWLINE# qs = ( yield session . query ( self . model ) . filter ( ccy = 'USD' ) . all ( ) ) #NEWLINE# self . assertTrue ( qs ) #NEWLINE# for i in qs : #NEWLINE# #INDENT# self . assertEqual ( i . ccy , 'USD' )