#NEWLINE# def test_default_records_renderer_if_accept_not_only_json( self ) : #NEWLINE# #INDENT# headers = self . headers . copy ( ) #NEWLINE# headers [ 'Accept' ] = 'application/json, text/javascript, */*;' #NEWLINE# response = self . app . get ( '/models/test/records' , headers = headers ) #NEWLINE# self . assertEqual ( response . headers [ 'Content-Type' ] , 'application/json; charset=UTF-8' ) #NEWLINE# self . assertNotIn ( 'features' , response . json )