aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/holmes/testcase/RuleMgt/Rule-Keywords.robot
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-09-21 10:00:46 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-09-21 10:00:46 +0800
commit80c347bb3b3f8478dd61f27b08354b11f118db04 (patch)
treefb45c34c2d05defcebe9a69bf05120932c5c1908 /test/csit/tests/holmes/testcase/RuleMgt/Rule-Keywords.robot
parent7ed6bcce5358b3e7affa59c548b4fc11016accee (diff)
Regularize the DELETE Http Call
Invoke the API using path params. Change-Id: If61045cc4fcebe2de105c504b2cfdbb841d144d9 Issue-ID: HOLMES-64 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'test/csit/tests/holmes/testcase/RuleMgt/Rule-Keywords.robot')
-rw-r--r--test/csit/tests/holmes/testcase/RuleMgt/Rule-Keywords.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/csit/tests/holmes/testcase/RuleMgt/Rule-Keywords.robot b/test/csit/tests/holmes/testcase/RuleMgt/Rule-Keywords.robot
index 03f840904..182737f54 100644
--- a/test/csit/tests/holmes/testcase/RuleMgt/Rule-Keywords.robot
+++ b/test/csit/tests/holmes/testcase/RuleMgt/Rule-Keywords.robot
@@ -72,8 +72,8 @@ modifyRule
[Return] ${response}
deleteRule
- [Arguments] ${jsonParam} ${codeFlag}=1
- ${response} httpDelete ${ruleMgtHost} ${ruleMgtUrl} ${jsonParam}
+ [Arguments] ${ruleId} ${codeFlag}=1
+ ${response} httpDelete ${ruleMgtHost} ${ruleMgtUrl}/${ruleId}
log ${response.content}
run keyword if ${codeFlag}==1 Should be equal as strings ${response.status_code} 200
run keyword if ${codeFlag}!=1 Should be equal as strings ${response.status_code} 499