Fix Account service patch HTTP response code
Changes:
- HTTP 200 and 204 are valid respond.
- CI failure fix F824 global ipmi_required_options
is unused: name is never assigned in scope
Tested:
Ran from the sandbox with changes.
Change-Id: I11cca086914631b0dd7e39284668a9eb1541adfe
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/account_service/test_user_account.robot b/redfish/account_service/test_user_account.robot
index b7c1f9b..7943e81 100644
--- a/redfish/account_service/test_user_account.robot
+++ b/redfish/account_service/test_user_account.robot
@@ -266,6 +266,7 @@
${payload}= Create Dictionary AccountLockoutThreshold=${account_lockout_threshold}
... AccountLockoutDuration=${account_lockout_duration}
Redfish.Patch ${REDFISH_ACCOUNTS_SERVICE_URI} body=${payload}
+ ... valid_status_codes=[${HTTP_OK}, ${HTTP_NO_CONTENT}]
Redfish.Logout