#NEWLINE# def test_service_action_params_identifier( self ) : #NEWLINE# #INDENT# request_model = Request ( { #NEWLINE# #INDENT# 'operation' : 'GetFrobs' , #NEWLINE# 'params' : [ { #NEWLINE# #INDENT# 'target' : 'WarehouseUrl' , #NEWLINE# 'source' : 'identifier' , #NEWLINE# 'name' : 'Url' , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# parent = mock . Mock ( ) #NEWLINE# parent . url = 'w-url' #NEWLINE# params = create_request_parameters ( parent , request_model ) #NEWLINE# self . assertEqual ( params [ 'WarehouseUrl' ] , 'w-url' , 'Parameter not set from resource identifier' )