Added http_accepted status code to upload image to BMC keyword
Change-Id: I2269224b9d40f8e71cc2f7ccc6d5f3e6a2f89cea
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/lib/rest_client.robot b/lib/rest_client.robot
index 6a5cdaa..f488d49 100644
--- a/lib/rest_client.robot
+++ b/lib/rest_client.robot
@@ -342,7 +342,7 @@
Upload Image To BMC
[Documentation] Upload image to BMC via REST and return status code.
[Arguments] ${uri} ${timeout}=10 ${quiet}=${1}
- ... ${valid_status_codes}=[${HTTP_OK}] &{kwargs}
+ ... ${valid_status_codes}=[${HTTP_OK}, ${HTTP_ACCEPTED}] &{kwargs}
# Description of argument(s):
# uri URI for uploading image via REST e.g.