Skip to content

Commit

Permalink
Fixes the Deprecation Warning for return in Robot Framework (#205)
Browse files Browse the repository at this point in the history
## Description

Corrects deprecation warning in Robot Framework

For each item, place an "x" in between `[` and `]` if true. Example:
`[x]`.
_(you can also check items in the GitHub UI)_

- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [X] Includes tests?
  - All tests were updated
- [ ] Includes documentation?

## How This Was Tested

Ran before change - warnings
Ran after change - no warnins

## Integration Instructions

N / A
  • Loading branch information
Flickdm authored Mar 29, 2024
1 parent aba937a commit 3c74bfa
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,21 @@ Get System Under Test SerialNumber
${Value}= Run PowerShell And Return Output ${CMD_SERIALNUMBER_TYPE1}
Should Be True '${Value}' != 'Error'
Should Be True '${Value}' != ''
[Return] ${Value}
RETURN ${Value}
Get System Under Test Manufacturer
${Value}= Run PowerShell And Return Output ${CMD_MFG}
Should Be True '${Value}' != 'Error'
Should Be True '${Value}' != ''
[Return] ${Value}
RETURN ${Value}
Get System Under Test ProductName
${Value}= Run PowerShell And Return Output ${CMD_MODEL}
Should Be True '${Value}' != 'Error'
Should Be True '${Value}' != ''
[Return] ${Value}
RETURN ${Value}
############################################################
Expand Down Expand Up @@ -300,7 +300,7 @@ Validate Permission Status
Get Payload From Permissions Results ${binResultFile} ${xmlResultFile}
File Should Exist ${xmlResultFile}
[return] ${xmlResultFile}
RETURN ${xmlResultFile}
############################################################
Expand Down Expand Up @@ -335,7 +335,7 @@ Validate Settings Status
Get Payload From Settings Results ${binResultFile} ${xmlResultFile}
Run Keyword If '${expectedStatus}' == ${STATUS_SUCCESS} File Should Exist ${xmlResultFile}
[return] ${xmlResultFile}
RETURN ${xmlResultFile}
########################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Get The DFCI Settings
Get and Print Current Settings ${currentSettingsxmlFile}
[return] ${currentIdxmlFile}
RETURN ${currentIdxmlFile}
*** Test Cases ***
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Get The DFCI Settings
Get and Print Current Settings ${currentSettingsxmlFile}
[return] ${currentIdxmlFile}
RETURN ${currentIdxmlFile}
*** Test Cases ***
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Get The DFCI Settings
Get and Print Current Settings ${currentSettingsxmlFile}
[return] ${currentIdxmlFile}
RETURN ${currentIdxmlFile}
#------------------------------------------------------------------*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Get The DFCI Settings
Get and Print Current Settings ${currentSettingsxmlFile}
[return] ${currentIdxmlFile}
RETURN ${currentIdxmlFile}
*** Test Cases ***
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Get The DFCI Settings
Get and Print Current Settings ${currentSettingsxmlFile}
[return] ${currentIdxmlFile}
RETURN ${currentIdxmlFile}
#------------------------------------------------------------------*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Get The DFCI Settings
Get and Print Current Settings ${currentSettingsxmlFile}
[return] ${currentIdxmlFile}
RETURN ${currentIdxmlFile}
*** Test Cases ***
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Get Response header
${good}= Evaluate "${value}" != "Not Found"
Should Be True ${good}
[return] ${value}
RETURN ${value}
*** Test Cases ***
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Get The DFCI Settings
Get and Print Current Settings ${currentSettingsxmlFile}
[return] ${currentIdxmlFile}
RETURN ${currentIdxmlFile}
#------------------------------------------------------------------*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Get The DFCI Settings
Get and Print Current Settings ${currentSettingsxmlFile}
[return] ${currentIdxmlFile}
RETURN ${currentIdxmlFile}
#------------------------------------------------------------------*
Expand Down

0 comments on commit 3c74bfa

Please sign in to comment.