#NEWLINE# def test_users_find_by_workspace( self ) : #NEWLINE# #INDENT# res = { #NEWLINE# #INDENT# 'data' : [ { #NEWLINE# #INDENT# 'id' : 5678 , #NEWLINE# 'name' : 'Greg Sanchez' , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } #NEWLINE# responses . add ( GET , 'http://app/workspaces/1337/users' , status = 200 , body = json . dumps ( res ) , match_querystring = True ) #NEWLINE# self . assertEqual ( self . client . users . find_by_workspace ( 1337 ) , self [ 'data' ] )