#NEWLINE# def test_updateUrlInResponse( self ) : #NEWLINE# #INDENT# uri = 'http://not.found/' #NEWLINE# alias = 'ext0' #NEWLINE# expected_args = { #NEWLINE# #INDENT# 'mode' : 'fetch_response' , #NEWLINE# 'update_url' : self . request_update_url , #NEWLINE# ( 'type.%s' % ( alias , ) ) : uri , #NEWLINE# ( 'count.%s' % ( alias , ) ) : '0' , #NEWLINE# #UNINDENT# } #NEWLINE# req = ax . FetchRequest ( update_url = self . request_update_url ) #NEWLINE# req . add ( ax . AttrInfo ( uri ) ) #NEWLINE# msg = ax . FetchResponse ( request = req ) #NEWLINE# self . failUnlessEqual ( expected_args , msg . getExtensionArgs ( ) )