Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the Deprecation Warning for return in Robot Framework #205

Merged
merged 2 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading