Fix for replace failing due to incorrect expected error code
Fix for replace failing due to incorrect expected error code

Change-Id: I7213091b15bf658344a63c7ec8163194effeba4b
Signed-off-by: Rahul Maheshwari <a806e6fd77e56dd64ff6084a06bbf3a5a70392ef@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation