Pass Disk Attribute test for devices lacking SMART
* Since these can't fail I think passing them makes sense
This commit is contained in:
parent
ab2e9862e2
commit
ea9a9f9a46
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue