diff options
author | Shiwei Tian <tian.shiwei@zte.com.cn> | 2018-03-08 09:30:54 +0800 |
---|---|---|
committer | Shiwei Tian <tian.shiwei@zte.com.cn> | 2018-03-08 14:31:09 +0800 |
commit | 1358e55ffafce7277bfb3e46cfbecb4c83c4f84c (patch) | |
tree | 3d981f41c361790d366336f13c10fa6e7c82dc07 /test/csit | |
parent | 43cee066880eabe9745149c44aa96cd9a99d1e0e (diff) |
modify rule automatic test case
Issue-ID: HOLMES-104
Change-Id: I84f821e742aba16f777cfd57d8c974dcafc9c657
Signed-off-by: Shiwei Tian <tian.shiwei@zte.com.cn>
Diffstat (limited to 'test/csit')
-rw-r--r-- | test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot b/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot index 19d0f74cb..9ec65854b 100644 --- a/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot +++ b/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot @@ -8,7 +8,7 @@ Resource Rule-Keywords.robot *** Test Cases *** add_valid_rule [Documentation] Add a valid rule. - ${dict2} create dictionary ruleName=you1212121121 description=create a new rule! content=package ruleqwertasd;\n\nimport java.util.Locale; enabled=1 loopControlName=closedControlLoop + ${dict2} create dictionary ruleName=youbowu0314 description=create a new rule! content=package ruleqwertasd;\n\nimport java.util.Locale; enabled=1 loopControlName=closedControlLoop ${jsonParams} encode ${dict2} ${response} createRule ${jsonParams} ${respJson} to json ${response.content} @@ -99,7 +99,6 @@ modify_rule_with_status ${count} get from dictionary ${respJson} totalCount run keyword if ${count}!=1 fail query rule fails! (can't find the rule modified!) ELSE traversalRuleAttribute ${respJson} ... ${dic} - log "response:" ${response} modify_rule_with_invalid_status [Documentation] modify the rule with an invalid status. |