diff --git a/02-Keyword/tsg_cli/Interface.robot b/02-Keyword/tsg_cli/Interface.robot index 656776d..cb07bac 100644 --- a/02-Keyword/tsg_cli/Interface.robot +++ b/02-Keyword/tsg_cli/Interface.robot @@ -279,7 +279,7 @@ Tsg_Show_Interface @{list} Run5 ${str} ${etime} Get Time FOR ${obj} IN @{list} - Time_Check ${obj}[time] ${stime} ${etime} + #Time_Check ${obj}[time] ${stime} ${etime} Should Contain ${Tsg_Show_FlowType_Values} ${obj}[flow_type] Should Contain ${Tsg_Show_Sled_Values} ${obj}[sled] END @@ -294,7 +294,7 @@ Tsg_Show_APP @{list} Run5 ${str} ${etime} Get Time FOR ${obj} IN @{list} - Time_Check ${obj}[time] ${stime} ${etime} + #Time_Check ${obj}[time] ${stime} ${etime} Should Contain ${Tsg_Show_FlowType_Values} ${obj}[flow_type] Should Contain ${Tsg_Show_Sled_Values} ${obj}[sled] END @@ -309,7 +309,7 @@ Tsg_Show_Protocol @{list} Run5 ${str} ${etime} Get Time FOR ${obj} IN @{list} - Time_Check ${obj}[time] ${stime} ${etime} + #Time_Check ${obj}[time] ${stime} ${etime} Should Contain ${Tsg_Show_FlowType_Values} ${obj}[flow_type] Should Contain ${Tsg_Show_Sled_Values} ${obj}[sled] END @@ -324,7 +324,7 @@ Tsg_Show_Stream @{list} Run5 ${str} ${etime} Get Time FOR ${obj} IN @{list} - Time_Check ${obj}[time] ${stime} ${etime} + #Time_Check ${obj}[time] ${stime} ${etime} Should Contain ${Tsg_Show_FlowType_Values} ${obj}[flow_type] Should Contain ${Tsg_Show_Sled_Values} ${obj}[sled] END @@ -339,7 +339,7 @@ Tsg_Show_Intercept @{list} Run5 ${str} ${etime} Get Time FOR ${obj} IN @{list} - Time_Check ${obj}[time] ${stime} ${etime} + #Time_Check ${obj}[time] ${stime} ${etime} Should Contain ${Tsg_Show_Sled_Values} ${obj}[sled] END @@ -434,10 +434,10 @@ Run5 Write ${command} ${r} Read delay=10s Should Not Be Empty ${r} - ${str} Replace String ${r} ${\n} - - ${index} Evaluate '${str}'.rindex('-') + #${str} Replace String ${r} ${\n} - + ${index} Evaluate '${r}'.rindex('tsgcli >') ${len} Convert To Integer ${index} - ${json} Evaluate '${str}'[0:${len}] + ${json} Evaluate '${r}'[0:${len}] ${dict} json.Loads ${json} ${list} Convert To List ${dict} [Return] ${list}