From 670e79b7d57f1e92eee51d681cd76f60bdc9e928 Mon Sep 17 00:00:00 2001 From: dongxiaoyan Date: Thu, 7 May 2020 17:33:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=95=B0=E6=8D=AE=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E5=9C=A8=E6=8C=87=E5=AE=9A=E6=97=B6=E9=97=B4=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E5=86=85=E5=AE=B9=E7=9A=84=E9=99=90=E5=88=B6=EF=BC=8C?= =?UTF-8?q?=E5=9B=A0=E6=95=B0=E6=8D=AE=E4=B8=8D=E4=B8=80=E5=AE=9A=E6=9C=89?= =?UTF-8?q?=E6=9C=80=E8=BF=91=E6=97=B6=E9=97=B4=E8=8C=83=E5=9B=B4=E5=86=85?= =?UTF-8?q?=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../policy_file_interface/FunctionalKeywords.robot | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/02-Keyword/tsg_bfapi/policy_file_interface/FunctionalKeywords.robot b/02-Keyword/tsg_bfapi/policy_file_interface/FunctionalKeywords.robot index 9e68200..5c346d7 100644 --- a/02-Keyword/tsg_bfapi/policy_file_interface/FunctionalKeywords.robot +++ b/02-Keyword/tsg_bfapi/policy_file_interface/FunctionalKeywords.robot @@ -107,15 +107,7 @@ CreatePolicyFileNoFile [Documentation] ... 必传参数:url ... 可选参数:data(不传时使用默认值) - [Arguments] ${url} ${data} - ${suffix} Generate Random String - ${profileName} Catenate SEPARATOR=_ test ${suffix} - ${listlenth}= Get Length ${data} - ${requestbody} Set Variable {"opAction":"add","returnData":1,"trafficMirrorList":[{"profileName":"${profileName}","addrType":"mac","isValid":1,"addrArray":["00:A1:B2:06:C3:29"]}]} - FOR ${var} IN RANGE ${listlenth} - #log ${var} - ${request} Set Variable ${data}[${var}] - END + [Arguments] ${url} ${requestbody} ${content} Post-Request ${url} ${requestbody} ${msg} Set Variable ${content['msg']} ${list} Set Variable ${content['data']['list']}