修改写入时间关键字
This commit is contained in:
@@ -9,7 +9,6 @@ Library FileLibrary
|
||||
Resource ../../02-Keyword/tsg_bfapi/Common.robot
|
||||
Resource ../../03-Variable/BifangApiVariable.txt
|
||||
|
||||
|
||||
*** Keywords ***
|
||||
insert_policyId_to_file
|
||||
[Arguments] ${key} ${policyId} ${objectids}
|
||||
@@ -23,11 +22,11 @@ insert_time_to_file
|
||||
${dict} Create Dictionary policyId=${value}[policyId] objectId=${value}[objectId] starttime=${starttime} endtime=${endtime}
|
||||
${json} json.Dumps ${dict}
|
||||
Alter Dict ${path}/03-Variable/AllFlowCaseVariable.txt ${key} ${json}
|
||||
|
||||
insert_policyId_to_file1
|
||||
[Arguments] ${key} ${objectids}
|
||||
Alter Dict ${path}/AllFlowCaseVariable.txt ${key} ${objectids}
|
||||
|
||||
insert_time_to_file1
|
||||
[Arguments] ${key} ${starttime} ${key2} ${endtime}
|
||||
[Arguments] ${key} ${starttime}
|
||||
Alter Dict ${path}/AllFlowCaseVariable1.txt ${key} ${starttime}
|
||||
Alter Dict ${path}/AllFlowCaseVariable1.txt ${key2} ${endtime}
|
||||
|
||||
Reference in New Issue
Block a user