Fix redfishtool local user test teardown
Changes:
- Added ${HTTP_NOT_FOUND} for non existent teardown response check
Fixed: openbmc/openbmc-test-automation#2103
Change-Id: I963f4c1977c1f645aca40c1b0f6f7f309f603a89
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/redfish/dmtf_tools/test_redfishtool_local_user.robot b/redfish/dmtf_tools/test_redfishtool_local_user.robot
index 8a38dc4..0bed531 100644
--- a/redfish/dmtf_tools/test_redfishtool_local_user.robot
+++ b/redfish/dmtf_tools/test_redfishtool_local_user.robot
@@ -113,7 +113,7 @@
Verify Error While Creating User With Invalid Role
[Documentation] Verify error while creating a user with invalid role using Redfishtool.
[Tags] Verify_Error_While_Creating_User_With_Invalid_Role
- [Teardown] Redfishtool Delete User "UserT100"
+ [Teardown] Redfishtool Delete User "UserT100" ${HTTP_NOT_FOUND}
Redfishtool Create User "UserT100" "TestPwd123" "wrongroleid" true expected_error=${HTTP_BAD_REQUEST}