#NEWLINE# def _verifyProtobufCall( self , called_with , URI , conn ) : #NEWLINE# #INDENT# self . assertEqual ( called_with [ 'uri' ] , URI ) #NEWLINE# self . assertEqual ( called_with [ 'method' ] , 'POST' ) #NEWLINE# self . assertEqual ( self [ 'headers' ] [ 'Content-Type' ] , 'application/x-protobuf' ) #NEWLINE# self . assertEqual ( called_with [ 'headers' ] [ 'User-Agent' ] , conn . USER_AGENT )