Fix sa_07 to delete temporary package folder created for the test 82/9782/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 2 Oct 2020 20:46:40 +0000 (20:46 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 6 Oct 2020 08:37:03 +0000 (08:37 +0000)
Change-Id: Iffcf6af3112b577a7b5146403164c522ba44dcc6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
robot-systest/testsuite/sa_07-alarms_from_sa-related_vnfs.robot

index 9c62a40..94ed0f1 100644 (file)
@@ -162,3 +162,13 @@ Suite Cleanup
     Run Keyword If Any Tests Failed  Delete NS  ${ws_ns_name}
     Run Keyword If Any Tests Failed  Delete NSD  ${ws_nsd_name}
     Run Keyword If Any Tests Failed  Delete VNFD  ${ws_vnfd_name}
+    Delete Temporary Descriptor Folder  '%{PACKAGES_FOLDER}/${new_vnfd_pkg}'
+
+
+Delete Temporary Descriptor Folder
+    [Documentation]  Removes the temporary package folder created for the test
+    [Arguments]   ${folder_name}
+    ${rc}   ${stdout}=   Run and Return RC and Output   rm -rf '${folder_name}'
+    log   ${stdout}
+
+