#NEWLINE# def test_getheaders( self ) : #NEWLINE# #INDENT# headers = { #NEWLINE# #INDENT# 'host' : 'example.com' , #NEWLINE# #UNINDENT# } #NEWLINE# r = HTTPResponse ( headers = headers ) #NEWLINE# self . assertEqual ( r . getheaders ( ) , headers )