From b6cd16e91c615498c4585e867b6bc0dec7be578f Mon Sep 17 00:00:00 2001 From: dongxiaoyan Date: Tue, 16 Jun 2020 16:43:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=8E=E5=85=AC=E5=85=B1=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=8F=82=E6=95=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tsg_bfapi/policy_file_interface/FunctionalKeywords.robot | 2 +- 02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/02-Keyword/tsg_bfapi/policy_file_interface/FunctionalKeywords.robot b/02-Keyword/tsg_bfapi/policy_file_interface/FunctionalKeywords.robot index ca7f17e..e776f10 100644 --- a/02-Keyword/tsg_bfapi/policy_file_interface/FunctionalKeywords.robot +++ b/02-Keyword/tsg_bfapi/policy_file_interface/FunctionalKeywords.robot @@ -177,7 +177,7 @@ UpdatePolicyFile UpdatePolicyFile2 [Arguments] ${url} ${data} ${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} ${response} to json ${remoteResponse.content} Should Be Equal As Strings ${remoteResponse.status_code} 200 diff --git a/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot b/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot index affde0f..91e298c 100644 --- a/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot +++ b/02-Keyword/tsg_common/LoginAndLogoutTypeSwitch.robot @@ -1,6 +1,6 @@ *** Settings *** Resource ../../03-Variable/BifangApiVariable.txt -Library REST http://${host}:${port}/${version} +Library REST http://${host}:${port} Library Collections Library ExtensionLibrary Resource ../tsg_bfapi/LoginLogout.robot