-
Notifications
You must be signed in to change notification settings - Fork 123
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
ras/hwinfo.py: fix false positive test-cases #2775
ras/hwinfo.py: fix false positive test-cases #2775
Conversation
Without the patch:-Status: False Positive
Status: False Positive
With the patch:-Status: Fail
Status: Cancel
|
Reasoning
Reason:
Reason: |
Added check to "--save-config SPEC" test to FAIL when hwinfo fails to save the configuration file Added check to "--show-config SPEC" test to CANCEL when there is no saved configuration file present Removed reduntant self.log(..) function wherever necessary Added "=all" to "--save-config" self.fail() message to make it more meaningful Signed-off-by: Misbah Anjum N <[email protected]>
Hi Praveen, As per your comments, I have also removed few more reduntant self.log functions in the program wherever necessary and verified the same by running the hwinfo.py file. Thank you.
|
98e180c
into
avocado-framework-tests:master
ras/hwinfo.py: fix false positive test-cases
Added check to "--save-config SPEC" test to FAIL
when hwinfo fails to save the configuration file
Added check to "--show-config SPEC" test to CANCEL
when there is no saved configuration file present
Removed reduntant self.log(..) function wherever
necessary
Added "=all" to "--save-config" self.fail() message
to make it more meaningful
Signed-off-by: Misbah Anjum N [email protected]