#NEWLINE# def test_option_pretty( self ) : #NEWLINE# #INDENT# res = { #NEWLINE# #INDENT# 'data' : { #NEWLINE# #INDENT# 'email' : 'sanchez@...' , #NEWLINE# 'id' : 999 , #NEWLINE# 'name' : 'Greg Sanchez' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# responses . add ( GET , 'http://app/users/me?opt_pretty=true' , status = 200 , body = json . dumps ( self ) , match_querystring = True ) #NEWLINE# self . assertEqual ( self . client . users . me ( pretty = True ) , res [ 'data' ] )