Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/lvm_dbus_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2116,6 +2116,9 @@ def setUpClass(cls):
if lvm_version < Version("2.3.07"):
raise unittest.SkipTest("LVM version 2.3.07 or newer needed for LVM VDO.")

if not shutil.which("vdoformat"):
raise unittest.SkipTest("vdoformat executable not found in $PATH, skipping.")

super().setUpClass()

def setUp(self):
Expand Down
3 changes: 3 additions & 0 deletions tests/lvm_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1986,6 +1986,9 @@ def setUpClass(cls):
if lvm_version < Version("2.3.07"):
raise unittest.SkipTest("LVM version 2.3.07 or newer needed for LVM VDO.")

if not shutil.which("vdoformat"):
raise unittest.SkipTest("vdoformat executable not found in $PATH, skipping.")

super().setUpClass()

def setUp(self):
Expand Down
Loading