Closed pieterhelsen closed 2 years ago
Also, if you can add some device test example that checks the vendor, would be welcomed. Thanks for your contrib
Thanks for the feedback. The tests already included some drives with the Vendor attribute, so I updated the device.json
files to check these values as part of the pytest
suite.
All tests are passing with a deprecation warning in https://github.com/truenas/py-SMART/blob/b16af735a03c6133604babf6938c4fb3eaa7667a/pySMART/device_list.py#L105 that I decided not to fix within the scope of this PR.
Hi!
Thank you for your contribution. Much appreciated.
Added support for reading the Vendor property from the information section. Below are two snippets from WD and Seagate drives that support this property: