Add test cases to verify peltool delete

Added testcase:
   - Verify PEL Delete

Change-Id: I8c22f2e1b1ef9260b5c5c9e52abcf4b7da140d8a
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/openpower/pel/test_bmc_pel.robot b/openpower/pel/test_bmc_pel.robot
index 28fcb88..c76f733 100644
--- a/openpower/pel/test_bmc_pel.robot
+++ b/openpower/pel/test_bmc_pel.robot
@@ -583,6 +583,18 @@
     Should Contain  ${pel_records['${id}']['Sev']}  Informational
 
 
+Verify PEL Delete
+    [Documentation]  Verify that peltool command can delete PEL log based on id.
+    [Tags]  Verify_PEL_Delete
+
+    BMC Execute Command  ${CMD_PREDICTIVE_ERROR}
+    ${pel_ids}=  Get PEL Log Via BMC CLI
+    ${id}=  Get From List  ${pel_ids}  -1
+    Peltool  -d ${id}
+    ${output}=  peltool -i ${id}
+    Should Contain  ${output}  PEL not found
+
+
 *** Keywords ***
 
 Error Logging Rotation Policy