#NEWLINE# def test_get_all( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/api/concepts/' , HTTP_ACCEPT = 'application/json' ) #NEWLINE# self . assertEqual ( response . status_code , codes . ok ) #NEWLINE# self . assertEqual ( len ( json . loads ( self . content ) ) , 2 ) #NEWLINE# self . assertEqual ( response [ 'Link-Template' ] , '<http://testserver/api/concepts/{id}/>; rel="self"' )