1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvmdbustest: Remove pyudev deprecated warnings

This commit is contained in:
Tony Asleson 2016-09-19 10:33:32 -05:00
parent ec821d37a8
commit d18ea3f2cb

View File

@ -1015,7 +1015,7 @@ class TestDbusService(unittest.TestCase):
block_path = []
for d in devices:
block_path.append(d['DEVNAME'])
block_path.append(d.properties['DEVNAME'])
self.assertEqual(
self.handle_return(
@ -1028,7 +1028,7 @@ class TestDbusService(unittest.TestCase):
mm = []
for d in devices:
mm.append((int(d['MAJOR']), int(d['MINOR'])))
mm.append((int(d.properties['MAJOR']), int(d.properties['MINOR'])))
self.assertEqual(