Remove response checking for PrepareForUpdate API post request
PrepareForUpdate would trigger immediate reboot BMC which
shuts down services.
Change-Id: I1091f558ae1d17c4379aa6e86b5912b10d948897
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/code_update/code_update_utils.robot b/extended/code_update/code_update_utils.robot
index 906e943..2ca8ad5 100755
--- a/extended/code_update/code_update_utils.robot
+++ b/extended/code_update/code_update_utils.robot
@@ -46,9 +46,8 @@
[Documentation] Switch to update mode in progress. This method calls
... the Abort method to remove the pending update if there
... is any before code activation.
- ${data}= create dictionary data=@{EMPTY}
- ${resp}= openbmc post request ${BMC_PREP_METHOD} data=${data}
- should be equal as strings ${resp.status_code} ${HTTP_OK}
+ ${data}= Create Dictionary data=@{EMPTY}
+ ${resp}= Openbmc Post Request ${BMC_PREP_METHOD} data=${data}
# Update method will reset the BMC, adding delay for reboot to
# come into force.