#NEWLINE# def test_response_buffering_is_disabled_with_unbufferred_arg( self ) : #NEWLINE# #INDENT# response = mock . Mock ( headers = Headers ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) #NEWLINE# self . agent . request . return_value = succeed ( response ) #NEWLINE# d = self . client . get ( 'http://www.example.com' , unbuffered = True ) #NEWLINE# self . assertEqual ( self . successResultOf ( d ) . original , response )