Skip to content

Commit

Permalink
Merge pull request #1341 from tbzatek/nvme-14
Browse files Browse the repository at this point in the history
tests: Rework nvme revision check
  • Loading branch information
tbzatek authored Jan 21, 2025
2 parents 4c47300 + 57f073f commit f5662c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/dbus-tests/test_nvme.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def test_controller_info(self):
fguid = self.get_property_raw(drive_obj, '.NVMe.Controller', 'FGUID')
self.assertEqual(len(fguid), 0)
rev = self.get_property_raw(drive_obj, '.NVMe.Controller', 'NVMeRevision')
self.assertTrue(rev.startswith('1.'))
self.assertGreater(len(rev), 0)
unalloc_cap = self.get_property_raw(drive_obj, '.NVMe.Controller', 'UnallocatedCapacity')
self.assertEqual(unalloc_cap, 0)

Expand Down

0 comments on commit f5662c9

Please sign in to comment.