Changes: Added expected error argument
- Added argument name expected_error for the status code
Tested:
- Ran and Executed test_redfishtool_certificate.robot script
Change-Id: I83aa6a71081176bcf6be9829abfbf6e7c09ccb62
Signed-off-by: ALAGIRI DHILIPAN K <alagiridhilipank@ami.com>
diff --git a/redfish/dmtf_tools/test_redfishtool_certificate.robot b/redfish/dmtf_tools/test_redfishtool_certificate.robot
index 98f39ea..c3a53a9 100644
--- a/redfish/dmtf_tools/test_redfishtool_certificate.robot
+++ b/redfish/dmtf_tools/test_redfishtool_certificate.robot
@@ -149,6 +149,7 @@
${response}= Redfishtool Post
... ${payload} /redfish/v1/CertificateService/Actions/CertificateService.ReplaceCertificate
+ ... expected_error=${HTTP_OK}, ${HTTP_NO_CONTENT}
Wait Until Keyword Succeeds 2 mins 15 secs Verify Certificate Visible Via OpenSSL ${cert_file_path}