diff --git a/test/api/python_lvm_unit.py b/test/api/python_lvm_unit.py index bceb82cd3..eab957500 100755 --- a/test/api/python_lvm_unit.py +++ b/test/api/python_lvm_unit.py @@ -185,7 +185,7 @@ class TestLvm(unittest.TestCase): for p in pvs: pe_devices.append(p.getName()) - for pv in pe_devices: + for pv in pe_devices[:-1]: vg.reduce(pv) vg.remove()