#NEWLINE# def test_header_reuse( self ) : #NEWLINE# #INDENT# headers = HTTPHeaders ( { #NEWLINE# #INDENT# 'User-Agent' : 'Foo' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . fetch ( '/hello' , headers = self ) #NEWLINE# self . assertEqual ( list ( headers . get_all ( ) ) , [ ( 'User-Agent' , 'Foo' ) ] )