Fix dummy file upload response code fix
Change-Id: Ibc6c78a17b35a65dab4d225f47938b784cca6927
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/syslib/utils_os.robot b/syslib/utils_os.robot
index b5ff68b..02326ab 100755
--- a/syslib/utils_os.robot
+++ b/syslib/utils_os.robot
@@ -151,7 +151,7 @@
Set To Dictionary ${data} headers ${headers}
${resp}= Post Request openbmc /upload/image &{data}
- Should Be Equal As Strings ${resp.status_code} ${HTTP_OK}
+ Should Be Equal As Strings ${resp.status_code} ${HTTP_BAD_REQUEST}
... msg=Openbmc /upload/image failed.
# Take SSH connection to BMC and switch to BMC connection to perform