从公共部分删除参数版本

This commit is contained in:
dongxiaoyan
2020-06-16 16:43:14 +08:00
parent a2b1f8e435
commit b6cd16e91c
2 changed files with 2 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ UpdatePolicyFile
UpdatePolicyFile2 UpdatePolicyFile2
[Arguments] ${url} ${data} [Arguments] ${url} ${data}
${header} Create Dictionary Content-Type=application/json Authorization=${token} ${header} Create Dictionary Content-Type=application/json Authorization=${token}
Create Session api http://${host}:${port}/${version} headers=${header} Create Session api http://${host}:${port} headers=${header}
${remoteResponse} Put Request api ${url} data=${data} headers=${header} ${remoteResponse} Put Request api ${url} data=${data} headers=${header}
${response} to json ${remoteResponse.content} ${response} to json ${remoteResponse.content}
Should Be Equal As Strings ${remoteResponse.status_code} 200 Should Be Equal As Strings ${remoteResponse.status_code} 200

View File

@@ -1,6 +1,6 @@
*** Settings *** *** Settings ***
Resource ../../03-Variable/BifangApiVariable.txt Resource ../../03-Variable/BifangApiVariable.txt
Library REST http://${host}:${port}/${version} Library REST http://${host}:${port}
Library Collections Library Collections
Library ExtensionLibrary Library ExtensionLibrary
Resource ../tsg_bfapi/LoginLogout.robot Resource ../tsg_bfapi/LoginLogout.robot