diff options
author | DR695H <dr695h@att.com> | 2019-05-08 13:55:32 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-05-09 10:41:52 -0400 |
commit | 910097ed0b1f7922715bfead98d3be6809fe2479 (patch) | |
tree | b8700a356eaeb81f38d34a186ce0e4dbb879c790 /robot/resources/test_templates/model_test_template.robot | |
parent | c5febc8b6264a08484b23ababec8f912cdd8f70d (diff) |
upgrade to python3 libraries
basing the code off of robot framework 3.1.1 instead of 3.0, replacing
selenium2lib with selnium lib and selenium3, replacing extendedselenium
with angularjs lib. Fixing most warnings and all errors from these moves
Change-Id: Ifed68c5b8cd28c7bbdc80ee7245860914bdee5b4
Issue-ID: TEST-151
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/test_templates/model_test_template.robot')
-rw-r--r-- | robot/resources/test_templates/model_test_template.robot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/robot/resources/test_templates/model_test_template.robot b/robot/resources/test_templates/model_test_template.robot index 981e1c9d..47083c3b 100644 --- a/robot/resources/test_templates/model_test_template.robot +++ b/robot/resources/test_templates/model_test_template.robot @@ -29,7 +29,7 @@ Model Distribution For 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} + :FOR ${directory} IN @{directory_list} \ ${zipname}= Replace String ${directory} / _ \ ${zip}= Catenate ${ASDC_ZIP_DIRECTORY}/${zipname}.zip \ ${folder}= Catenate ${ASDC_ASSETS_DIRECTORY}/${directory} @@ -55,7 +55,7 @@ Teardown Models [Documentation] Clean up at the end of the test [Arguments] ${catalog_service_id} ${catalog_resource_ids} Return From Keyword If '${catalog_service_id}' == '' - :for ${catalog_resource_id} in @{catalog_resource_ids} + :FOR ${catalog_resource_id} IN @{catalog_resource_ids} \ ${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 |