#NEWLINE# def test_users( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/users/' ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# expected = [ { #NEWLINE# #INDENT# 'id' : self . users [ 'vova' ] . id , #NEWLINE# 'name' : self . users [ 'vova' ] . name , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'id' : self . users [ 'gena' ] . id , #NEWLINE# 'name' : self . users [ 'gena' ] . name , #NEWLINE# #UNINDENT# } ] #NEWLINE# self . assertEqual ( response . data , expected )