1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

lvmdbustest.py: Validate PV device

Validate device lookup after PV creation.
This commit is contained in:
Tony Asleson 2017-03-01 17:24:08 -06:00
parent 4c89d3794c
commit 83249f3327

View File

@ -198,6 +198,9 @@ class TestDbusService(unittest.TestCase):
self.objs[MANAGER_INT][0].Manager.PvCreate(
dbus.String(device), dbus.Int32(g_tmo), EOD)
)
self._validate_lookup(device, pv_path)
self.assertTrue(pv_path is not None and len(pv_path) > 0)
return pv_path