#NEWLINE# def test_should_have_image_as_content_type( self ) : #NEWLINE# #INDENT# result = views . render_image_to_response ( 'foo.jpg' ) #NEWLINE# self . assertEquals ( 'image/jpg' , result [ 'content-type' ] )