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:
parent
4c89d3794c
commit
83249f3327
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user