#NEWLINE# def test_get_rack_list( self ) : #NEWLINE# #INDENT# url = reverse ( 'rack-list' ) #NEWLINE# response = self . client . get ( url , format = 'json' ) #NEWLINE# self . assertEqual ( response . status_code , status . HTTP_200_OK ) #NEWLINE# self . assertEqual ( url . data [ 'count' ] , Rack . objects . count ( ) )