#NEWLINE# def test_querying( self ) : #NEWLINE# #INDENT# self . create ( ) #NEWLINE# tacos = Entree . get ( ( Entree . name == 'tacos' ) ) #NEWLINE# tags = Tag . select ( ) . where ( ( Tag . object == tacos ) ) . order_by ( Tag . tag ) #NEWLINE# self . assertEqual ( [ self . tag for tag in tags ] , [ 'fried' , 'spicy' ] )