#NEWLINE# def test_render_to_response_with_content_type( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/shortcuts/render_to_response/content_type/' ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertEqual ( response . content , b'FOO.BAR..\n' ) #NEWLINE# self . assertEqual ( response [ 'Content-Type' ] , 'application/x-rendertest' )