#NEWLINE# def test_getExtensionArgs_some_request( self ) : #NEWLINE# #INDENT# expected_args = { #NEWLINE# #INDENT# 'mode' : 'fetch_response' , #NEWLINE# ( 'type.' + self . alias_a ) : self . type_a , #NEWLINE# ( ( 'value.' + self . alias_a ) + '.1' ) : self . value_a , #NEWLINE# ( 'count.' + self . alias_a ) : '1' , #NEWLINE# #UNINDENT# } #NEWLINE# req = ax . FetchRequest ( ) #NEWLINE# req . add ( ax . AttrInfo ( self . type_a , alias = self . alias_a ) ) #NEWLINE# msg = ax . FetchResponse ( request = req ) #NEWLINE# msg . addValue ( self . type_a , expected_args . value_a ) #NEWLINE# self . failUnlessEqual ( expected_args , msg . getExtensionArgs ( ) )