aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-05-22 09:33:51 +0200
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-05-22 09:33:51 +0200
commit73c5591928148bbf09e3a472aba7f96672272272 (patch)
treedac075bd38c6627a21e2bd3a01892376bdb8d1a2 /robot/resources
parent8faae46bad64417db68cd6af981b83cfe1f6f08c (diff)
ROBOT e2e test cases improvements for csar/zip tosca package validation in VNFSDK and SDC Onbarding adding tosca package integrity check SOL004 package security option 1
Issue-ID: INT-1240 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: I3c24a71b9929f8addbeaac6b1b30950cfc45e3d5
Diffstat (limited to 'robot/resources')
-rw-r--r--robot/resources/test_templates/vnfsdk_validation_template.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/robot/resources/test_templates/vnfsdk_validation_template.robot b/robot/resources/test_templates/vnfsdk_validation_template.robot
index cf7fcf23..f0b7eb4e 100644
--- a/robot/resources/test_templates/vnfsdk_validation_template.robot
+++ b/robot/resources/test_templates/vnfsdk_validation_template.robot
@@ -134,6 +134,8 @@ Validate Not Valid Onboarding Package
\ ${req_status}= Get From Dictionary ${status_req} passed
\ Run Keyword If "${req_status}"=='False' Add Failed Requirement To List ${status_req} ${failed_req_from_test_run} vnfreqName
Log ${failed_req_from_test_run}
+ Sort List ${failed_req_from_test_run}
+ Sort List ${failed_req_list}
Lists Should Be Equal ${failed_req_from_test_run} ${failed_req_list}
Add Failed Requirement To List
@@ -150,8 +152,11 @@ Get And Comapre Error Responses From SDC API
\ ${req_status}= Get From Dictionary ${message_item} level
\ Run Keyword If "${req_status}"=='ERROR' Add Failed Requirement To List ${message_item} ${failed_req_from_test_run} message
Log ${failed_req_from_test_run}
+ Sort List ${sdc_response}
+ Sort List ${failed_req_from_test_run}
Lists Should Be Equal ${failed_req_from_test_run} ${sdc_response}
+
Validate Onboarding Package In SDC
[Arguments] ${onboarding_package_path} ${package_folder} ${sdc_validation} ${negative_test_case} ${sdc_response} ${sdc_cert}
${license_model_id} ${license_model_version_id}= Add SDC License Model