Pass Disk Attribute test for devices lacking SMART

* Since these can't fail I think passing them makes sense
This commit is contained in:
2Shirt 2020-01-11 19:51:57 -07:00
parent ab2e9862e2
commit ea9a9f9a46
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -895,6 +895,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