diff options
Diffstat (limited to 'robot/testsuites/vnf-orchestration-ovp.robot')
-rw-r--r-- | robot/testsuites/vnf-orchestration-ovp.robot | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/robot/testsuites/vnf-orchestration-ovp.robot b/robot/testsuites/vnf-orchestration-ovp.robot index aeabb4d3..ec797af9 100644 --- a/robot/testsuites/vnf-orchestration-ovp.robot +++ b/robot/testsuites/vnf-orchestration-ovp.robot @@ -79,15 +79,15 @@ Add Service Mapping ${template_mapping_list} Create List ${module_index}= Set Variable 0 - :FOR ${module} IN @{module_list} - \ ${empty_dict} Create Dictionary - \ ${base}= Set Variable ${module["isBase"]} - \ ${filename}= Set Variable ${module["filename"]} - \ ${index}= Set Variable If '${base}'=='true' 0 ${module_index} + 1 - \ ${name}= Remove String ${filename} .yaml .yml - \ ${preload}= Set Variable ${module["preload"]} - \ set to dictionary ${empty_dict} isBase=${base} template="" vnf_index=${index} name_pattern=${name} preload_file=${preload} - \ Append To List ${template_mapping_list} ${empty_dict} + FOR ${module} IN @{module_list} + ${empty_dict} Create Dictionary + ${base}= Set Variable ${module["isBase"]} + ${filename}= Set Variable ${module["filename"]} + ${index}= Set Variable If '${base}'=='true' 0 ${module_index} + 1 + ${name}= Remove String ${filename} .yaml .yml + ${preload}= Set Variable ${module["preload"]} + set to dictionary ${empty_dict} isBase=${base} template="" vnf_index=${index} name_pattern=${name} preload_file=${preload} + Append To List ${template_mapping_list} ${empty_dict} ${GLOBAL_SERVICE_TEMPLATE_MAPPING} Create Dictionary ${GLOBAL_SERVICE_FOLDER_MAPPING} Create Dictionary |