Pass default delete parameter as EMPTY
Resolves openbmc/openbmc-test-automation#506
Change-Id: I0784005e54a2bb62311cac3d18d10422a3302f86
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_rest_interfaces.robot b/tests/test_rest_interfaces.robot
index 9c9d919..f1ceded 100644
--- a/tests/test_rest_interfaces.robot
+++ b/tests/test_rest_interfaces.robot
@@ -180,7 +180,7 @@
[Documentation] Request Post on url path and expected non empty data.
# Description of arguments:
# url_path URL path.
- ${data}= Create Dictionary data=@{data}
+ ${data}= Create Dictionary data=@{parm}
${resp}= Openbmc Post Request ${url_path} data=${data}
Should Be Equal As Strings ${resp.status_code} ${HTTP_OK}
${jsondata}= To JSON ${resp.content}
@@ -192,5 +192,6 @@
# Description of arguments:
# expected_response_code Expected REST status codes.
# url_path URL path.
- ${resp}= Openbmc Delete Request ${url_path}
+ ${data}= Create Dictionary data=@{EMPTY}
+ ${resp}= Openbmc Delete Request ${url_path} data=${data}
Should Be Equal As Strings ${resp.status_code} ${expected_response_code}