summaryrefslogtreecommitdiffstats
path: root/cmso-robot/robot/testsuites/ChangeManagementImmediateFailure.robot
diff options
context:
space:
mode:
authorRamaPrasad Amaranarayana (ra5425) <ra5425@att.com>2018-09-19 17:40:40 -0400
committerRamaPrasad Amaranarayana (ra5425) <ra5425@att.com>2018-09-19 17:40:40 -0400
commitfbe4bb98345727d190cefcfb3ec54ad9075fba9d (patch)
treef2e0c091a4c132c89dafb061c81eeebfb0e9a773 /cmso-robot/robot/testsuites/ChangeManagementImmediateFailure.robot
parentb031d50f82f8ca5b7fd0609a92c719f43a9f518d (diff)
Change Management Schedule Optimization
Adding Robot Test Scripts for Change Management Schedule Optimization Change-Id: Id5edf9d3fb3c2390791362692c8b25f7607045c6 Issue-ID: OPTFRA-352 Signed-off-by: RamaPrasad Amaranarayana (ra5425) <ra5425@att.com>
Diffstat (limited to 'cmso-robot/robot/testsuites/ChangeManagementImmediateFailure.robot')
-rw-r--r--cmso-robot/robot/testsuites/ChangeManagementImmediateFailure.robot52
1 files changed, 52 insertions, 0 deletions
diff --git a/cmso-robot/robot/testsuites/ChangeManagementImmediateFailure.robot b/cmso-robot/robot/testsuites/ChangeManagementImmediateFailure.robot
new file mode 100644
index 0000000..74f1959
--- /dev/null
+++ b/cmso-robot/robot/testsuites/ChangeManagementImmediateFailure.robot
@@ -0,0 +1,52 @@
+*** Settings ***
+Documentation Creates VID VNF Instance
+
+Library StringTemplater
+Library UUID
+Library OperatingSystem
+Resource ../resources/test_templates/change_management.robot
+
+# Test Setup
+Test Template Change Management Failure Template
+# Test Teardown
+*** Variable ***
+${status_code_variable}= 400
+${one_vnf_template_folder}= robot/assets/templates/OneVNFImmediateFailureCases
+${multiple_vnf_template_folder}= robot/assets/templates/MutipleVNFImmediateFailureCases
+*** Test Cases ***
+#@{Global_cm...} may show as an error but it still seems to work I guess
+#One VNF Immediate Failure
+# :FOR ${current_template_file} IN @{GLOBAL_CM_ONEVNF_FAILURE_TEMPLATES}
+# \ ${current_template_file} ${status_code_variable} ${one_vnf_template_folder}
+
+#Multiple VNF Immediate Failure
+# :FOR ${current_template_file} IN @{GLOBAL_CM_MULTIPLE_VNF_FAILURE_TEMPLATES}
+# \ ${current_template_file} ${status_code_variable} ${multiple_vnf_template_folder}
+
+One Vnf Immediate Empty Domain OneVnfImmediateEmptyDomain.json.template ${status_code_variable} ${one_vnf_template_folder}
+ [Tags] ete failure immediate single VNF
+
+One Vnf Immediate Empty Schedule Id OneVnfImmediateEmptyScheduleId.json.template ${status_code_variable} ${one_vnf_template_folder}
+ [Tags] ete failure immediate single VNF
+
+## schedule name is now optional
+One Vnf Immediate Empty Schedule Name OneVnfImmediateEmptyScheduleName.json.template 202 ${one_vnf_template_folder}
+ [Tags] ete failure immediate single VNF
+
+One Vnf Immediate Empty Scheduling Info OneVnfImmediateEmptySchedulingInfo.json.template ${status_code_variable} ${one_vnf_template_folder}
+ [Tags] ete failure immediate single VNF
+
+One Vnf Immediate Empty User Id OneVnfImmediateEmptyUserId.json.template ${status_code_variable} ${one_vnf_template_folder}
+ [Tags] ete failure immediate single VNF
+
+Multiple Vnf Immediate Empty Domain MultipleVnfImmediateEmptyDomain.json.template ${status_code_variable} ${multiple_vnf_template_folder}
+ [Tags] ete failure immediate multiple VNF
+
+Multiple Vnf Immediate Empty Schedule Id MultipleVnfImmediateEmptyScheduleId.json.template ${status_code_variable} ${multiple_vnf_template_folder}
+ [Tags] ete failure immediate multiple VNF
+
+Multiple Vnf Immediate Empty Additional Duration MultipleVnfImmediateEmptyAdditionalDuration.json.template ${status_code_variable} ${multiple_vnf_template_folder}
+ [Tags] ete failure immediate multiple VNF
+
+Multiple Vnf Immediate Empty User Id MultipleVnfImmediateEmptyUserId.json.template ${status_code_variable} ${multiple_vnf_template_folder}
+ [Tags] ete failure immediate multiple VNF \ No newline at end of file