#NEWLINE# def test_render_to_response_with_request_context( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/views/shortcuts/render_to_response/request_context/' ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertEqual ( response . content , 'FOO.BAR../path/to/static/media\n' ) #NEWLINE# self . assertEqual ( response [ 'Content-Type' ] , 'text/html; charset=utf-8' )