diff options
author | DR695H <dr695h@att.com> | 2019-05-08 13:55:32 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-05-09 10:41:52 -0400 |
commit | 910097ed0b1f7922715bfead98d3be6809fe2479 (patch) | |
tree | b8700a356eaeb81f38d34a186ce0e4dbb879c790 /robot/resources/ssh/processes.robot | |
parent | c5febc8b6264a08484b23ababec8f912cdd8f70d (diff) |
upgrade to python3 libraries
basing the code off of robot framework 3.1.1 instead of 3.0, replacing
selenium2lib with selnium lib and selenium3, replacing extendedselenium
with angularjs lib. Fixing most warnings and all errors from these moves
Change-Id: Ifed68c5b8cd28c7bbdc80ee7245860914bdee5b4
Issue-ID: TEST-151
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/ssh/processes.robot')
-rw-r--r-- | robot/resources/ssh/processes.robot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/robot/resources/ssh/processes.robot b/robot/resources/ssh/processes.robot index 2ab6a14a..8b5cf157 100644 --- a/robot/resources/ssh/processes.robot +++ b/robot/resources/ssh/processes.robot @@ -28,7 +28,7 @@ Create Process Map [Arguments] ${input} @{lines}= Split To Lines ${input} ${map}= Create Dictionary - :for ${line} in @{lines} + :FOR ${line} IN @{lines} \ @{parts}= Split String ${line} max_split=7 \ ${pid}= Catenate ${parts[1]} \ ${name}= Catenate ${parts[7]} @@ -57,7 +57,7 @@ Is Process on Host ${pass} ${map}= Run Keyword and Ignore Error Grep Processes ${process_name} @{pids}= Get Dictionary Keys ${map} ${foundpid}= Catenate "" - :for ${pid} in @{pids} + :FOR ${pid} IN @{pids} \ ${process_cmd}= Get From Dictionary ${map} ${pid} \ ${status} ${value}= Run Keyword And Ignore Error Should Match Regexp ${process_cmd} ${process_name} \ Run Keyword If '${status}' == 'PASS' Set Test Variable ${foundpid} ${pid} |