* Settings *
Documentation This testsuite is for testing fan interface for openbmc
Suite Teardown Delete All Sessions
Resource ../lib/rest_client.robot
* Test Cases *
~
~
Shouldn't leave it empty with * Test cases **
[ ERROR ] Suite 'Test Fan' contains no tests.
2. tests/security/test_ssl.robot
Remove : Library RequestsLibrary.RequestsKeywords
The Library RequestsLibrary.RequestsKeywords is already include in the lib/rest_client.robot so no need to add redundant code here
3. tests/test_association.robot
Remove : Library BuiltIn
The built In doesn't need to be explicitly included
Probably a good idea if we could do this two combo in Test Suite Setup
This variable is not used anywhere in this suite, probably a copy paste left over code.
5. tests/test_eventlog.robot
Remove : Library BuiltIn
The built In doesn't need to be explicitly included
Typo : making NOT makeing in test case "makeing new log after obmc-phosphor-event.service restart"
Suggestion : Example, its good to verify the execute command to stop continue and fail latter if the command returns errors
${output}= Execute Command /sbin/reboot
To
${output} ${stderr}= Execute Command /sbin/reboot return_stderr=True
Should Be Empty ${stderr}
This would save time and error catching more better
Do for all the execute command in the code
1. tests/test_fan.robot
* Settings * Documentation This testsuite is for testing fan interface for openbmc Suite Teardown Delete All Sessions Resource ../lib/rest_client.robot
* Test Cases * ~
~
Shouldn't leave it empty with * Test cases **
[ ERROR ] Suite 'Test Fan' contains no tests.
2. tests/security/test_ssl.robot
Remove : Library RequestsLibrary.RequestsKeywords
The Library RequestsLibrary.RequestsKeywords is already include in the lib/rest_client.robot so no need to add redundant code here
3. tests/test_association.robot Remove : Library BuiltIn The built In doesn't need to be explicitly included
Probably a good idea if we could do this two combo in Test Suite Setup
4. tests/test_bootpolicy.robot
Remove : ${SYSTEM_SHUTDOWN_TIME} ${5} ${WAIT_FOR_POWER_OPERATION} 30sec
This variable is not used anywhere in this suite, probably a copy paste left over code.
5. tests/test_eventlog.robot
Remove : Library BuiltIn The built In doesn't need to be explicitly included
Typo : making NOT makeing in test case "makeing new log after obmc-phosphor-event.service restart"
Suggestion : Example, its good to verify the execute command to stop continue and fail latter if the command returns errors ${output}= Execute Command /sbin/reboot To ${output} ${stderr}= Execute Command /sbin/reboot return_stderr=True Should Be Empty ${stderr}
This would save time and error catching more better Do for all the execute command in the code