feat(Cli):增加TsgCli测试用例
This commit is contained in:
33
01-TestCase/tsg_cli/QueryManipulationPolicy.robot
Normal file
33
01-TestCase/tsg_cli/QueryManipulationPolicy.robot
Normal file
@@ -0,0 +1,33 @@
|
||||
*** Settings ***
|
||||
Force Tags tsg-cli ManipulationPolicy Query
|
||||
Resource ../../03-Variable/bifangapivariable.txt
|
||||
Resource ../../02-Keyword/tsg_cli/interface.robot
|
||||
|
||||
*** Variables ***
|
||||
${PolicyType} pxy_manipulation
|
||||
|
||||
*** Test Cases ***
|
||||
init
|
||||
${data} Get_Policy_Object2 ${PolicyType}
|
||||
Set Suite Variable ${obj} ${data}
|
||||
|
||||
Policy_Query01
|
||||
Tsg_Policy_Query ${PolicyType} ${obj}[policyId] ${None} ${None} ${True}
|
||||
|
||||
Policy_Query02
|
||||
Tsg_Policy_Query ${PolicyType} ${None} ${obj}[policyName] ${None} ${True}
|
||||
|
||||
Policy_Query03
|
||||
Tsg_Policy_Query ${PolicyType} ${None} ${None} ${obj}[policyDesc] ${True}
|
||||
|
||||
Policy_Query04
|
||||
Tsg_Policy_Query ${PolicyType} ${obj}[policyId] ${obj}[policyName] ${None} ${True}
|
||||
|
||||
Policy_Query05
|
||||
Tsg_Policy_Query ${PolicyType} ${obj}[policyId] ${None} ${obj}[policyDesc] ${True}
|
||||
|
||||
Policy_Query06
|
||||
Tsg_Policy_Query ${PolicyType} ${None} ${obj}[policyName] ${obj}[policyDesc] ${True}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user