Skip to content

Commit

Permalink
Edentest: fix some deprecated robot syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nursix committed Dec 14, 2020
1 parent 0d7f5d9 commit d4d8c39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nursix-dev-4280-g65a0f4edd (2020-12-14 10:16:06)
nursix-dev-4281-g0d7f5d9a1 (2020-12-14 10:16:42)
4 changes: 2 additions & 2 deletions tests/implementation/resources/base.robot
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ Check for ticket and catch exception

# Log it
${passed}= Run Keyword and Return Status Should Not Be Empty ${Failed URL}
Run Keyword If ${passed} Log @{With Failed URL}[0] @{With Failed URL}[1] ERROR
Run Keyword Unless ${passed} Log @{Without Failed URL}[0] @{Without Failed URL}[1] ERROR
Run Keyword If ${passed} Log ${With Failed URL}[0] ${With Failed URL}[1] ERROR
Run Keyword Unless ${passed} Log ${Without Failed URL}[0] ${Without Failed URL}[1] ERROR

# Return errors if the Failed URL is given
Return From Keyword if ${passed} @{With Failed URL}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Check For Errors
Return From Keyword If ${passed}==${1} ${1}

${passed}= Check For Ticket And Catch Exception ${Failed URL}
Run Keyword If ${passed}!=0 Append To File ${Log File} @{passed}[0]@{passed}[1]
Run Keyword If ${passed}!=0 Append To File ${Log File} ${passed}[0]${passed}[1]
Login To Eden If Not Logged In ${VALID USER} ${VALID PASSWORD}
Return From Keyword If ${passed}!=${0} ${1}

Expand Down

0 comments on commit d4d8c39

Please sign in to comment.