Pass Disk Attribute test for devices lacking SMART

This commit is contained in:
2Shirt 2020-01-11 19:53:34 -07:00
parent a573a7e1c3
commit fef8323282
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -911,6 +911,8 @@ def disk_self_test(state, test_objects):
test_obj.failed = True
result = 'TimedOut'
except hw_obj.SMARTNotSupportedError:
# Pass test since it doesn't apply
test_obj.passed = True
result = 'N/A'
# Set status