aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates/model_test_template_vcperescust.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/test_templates/model_test_template_vcperescust.robot')
-rw-r--r--robot/resources/test_templates/model_test_template_vcperescust.robot15
1 files changed, 8 insertions, 7 deletions
diff --git a/robot/resources/test_templates/model_test_template_vcperescust.robot b/robot/resources/test_templates/model_test_template_vcperescust.robot
index 06df414d..4ff62a64 100644
--- a/robot/resources/test_templates/model_test_template_vcperescust.robot
+++ b/robot/resources/test_templates/model_test_template_vcperescust.robot
@@ -22,13 +22,14 @@ Model Distribution For vCPEResCust Directory
${service_name}= Catenate ${service} ${uuid}
${shortened_uuid}= Evaluate str("${service_name}")[:23]
${catalog_service_name}= Set Variable If '${catalog_service_name}' =='' ${shortened_uuid} ${catalog_service_name}
- :FOR ${directory} IN @{directory_list}
- \ ${zipname}= Replace String ${directory} / _
- \ ${zip}= Catenate ${SDC_ZIP_DIRECTORY}/${zipname}.zip
- \ ${folder}= Catenate ${SDC_ASSETS_DIRECTORY}/${directory}
- \ OperatingSystem.Create Directory ${SDC_ASSETS_DIRECTORY}/temp
- \ Create Zip From Files In Directory ${folder} ${zip}
- \ Append To List ${ziplist} ${zip}
+ FOR ${directory} IN @{directory_list}
+ ${zipname}= Replace String ${directory} / _
+ ${zip}= Catenate ${SDC_ZIP_DIRECTORY}/${zipname}.zip
+ ${folder}= Catenate ${SDC_ASSETS_DIRECTORY}/${directory}
+ OperatingSystem.Create Directory ${SDC_ASSETS_DIRECTORY}/temp
+ Create Zip From Files In Directory ${folder} ${zip}
+ Append To List ${ziplist} ${zip}
+ END
${catalog_service_name} ${catalog_resource_name} ${vf_modules} ${catalog_resource_ids} ${catalog_service_id} ${catalog_resources} Distribute vCPEResCust Model From SDC ${ziplist} ${catalog_service_name} ${cds} ${service}
Download CSAR ${catalog_service_id}
[Return] ${catalog_service_name} ${catalog_resource_name} ${vf_modules} ${catalog_resources}