23 lines
610 B
Plaintext
23 lines
610 B
Plaintext
|
|
*** Settings ***
|
||
|
|
Force Tags tsg-cli Policy EnDisable
|
||
|
|
Resource ../../03-Variable/bifangapivariable.txt
|
||
|
|
Resource ../../02-Keyword/tsg_cli/interface.robot
|
||
|
|
|
||
|
|
*** Variables ***
|
||
|
|
${PolicyType} tsg_security
|
||
|
|
|
||
|
|
*** Test Cases ***
|
||
|
|
init
|
||
|
|
${data} Get_Policy_Object3 ${PolicyType}
|
||
|
|
Set Suite Variable ${obj} ${data}
|
||
|
|
|
||
|
|
Policy_Update01
|
||
|
|
Tsg_Policy_EnDisable ${obj}[policyId] ${PolicyType} ${obj}[commandType1]
|
||
|
|
|
||
|
|
Policy_Update02
|
||
|
|
Tsg_Policy_EnDisable ${obj}[policyId] ${PolicyType} ${obj}[commandType2]
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|