truenas / py-SMART

Wrapper for smartctl (smartmontools)
GNU Lesser General Public License v2.1
76 stars 35 forks source link

Need str(test) for the printed format of test results #19

Closed draik closed 6 years ago

draik commented 6 years ago

Old output: ['ID Test_Description Status Left Hours 1st_Error@LBA ', <SMART Self-test [Short offline|Completed without error] hrs:528 LBA:->, <SMART Self-test [Short offline|Completed without error] hrs:510 LBA:->]

Fixed output: ID Test_Description Status Left Hours 1st_Error@LBA
1 Short offline Completed without error 00% 528 -
2 Short offline Completed without error 00% 510 -