BIOS forbidden HTTPS response code for BIOS PATCH request
Changes:
- Add response for 403 for possible return code.
Tested:
- Ran test suite pldm/test_redfish_bios_attributes.robot
Change-Id: I0bb909c89b3de00841f9f1a0dd4c0e2476455665
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/pldm/test_redfish_bios_attributes.robot b/pldm/test_redfish_bios_attributes.robot
index 9e7f849..0582925 100755
--- a/pldm/test_redfish_bios_attributes.robot
+++ b/pldm/test_redfish_bios_attributes.robot
@@ -42,7 +42,7 @@
${enum_attr}= Evaluate random.choice(${attr_handles}) modules=random
Redfish.Patch ${BIOS_ATTR_SETTINGS_URI} body={"Attributes":{"${enum_attr}": '0'}}
- ... valid_status_codes=[${HTTP_INTERNAL_SERVER_ERROR}]
+ ... valid_status_codes=[${HTTP_INTERNAL_SERVER_ERROR},${HTTP_FORBIDDEN}]
Redfish Verify Set Out Of Range Integer Value For BIOS Integer Attribute Type