summaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates/model_test_template.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/test_templates/model_test_template.robot')
-rw-r--r--robot/resources/test_templates/model_test_template.robot12
1 files changed, 4 insertions, 8 deletions
diff --git a/robot/resources/test_templates/model_test_template.robot b/robot/resources/test_templates/model_test_template.robot
index 67c95e98..ab331051 100644
--- a/robot/resources/test_templates/model_test_template.robot
+++ b/robot/resources/test_templates/model_test_template.robot
@@ -5,7 +5,7 @@ Library ArchiveLibrary
Library Collections
Library String
Library DateTime
-Library ONAPLibrary.ServiceMapping
+Library ONAPLibrary.ServiceMapping WITH NAME ServiceMapping
Resource ../asdc_interface.robot
*** Variables ***
@@ -19,11 +19,10 @@ ${CATALOG_RESOURCE_IDS}
${CATALOG_SERVICE_ID}
*** Keywords ***
-
Model Distribution For Directory
[Arguments] ${service} ${catalog_service_name}= ${cds}=
- Set Directory default ./demo/service_mapping
- ${directory_list}= Get Service Folder Mapping default ${service}
+ ServiceMapping.Set Directory default ./demo/service_mapping
+ ${directory_list}= ServiceMapping.Get Service Folder Mapping default ${service}
${ziplist}= Create List
${uuid}= Get Current Date
${service_name}= Catenate ${service} ${uuid}
@@ -43,9 +42,6 @@ Model Distribution For Directory
Download CSAR ${catalog_service_id}
[Return] ${catalog_service_name} ${catalog_resource_name} ${vf_modules} ${catalog_resources}
-
-
-
Teardown Model Distribution
[Documentation] Clean up at the end of the test
Log ${CATALOG_SERVICE_ID} ${CATALOG_RESOURCE_IDS}
@@ -59,4 +55,4 @@ Teardown Models
\ ${resourece_json}= Mark ASDC Catalog Resource Inactive ${catalog_resource_id}
${service_json}= Mark ASDC Catalog Service Inactive ${catalog_service_id}
${services_json}= Delete Inactive ASDC Catalog Services
- ${resources_json}= Delete Inactive ASDC Catalog Resources
+ ${resources_json}= Delete Inactive ASDC Catalog Resources \ No newline at end of file