mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
tests: pytest update
This commit is contained in:
parent
205e3ff888
commit
70616187b3
@ -21,6 +21,9 @@
|
||||
# thus it needs dmeventd
|
||||
#
|
||||
|
||||
# Example of using 'gdb' with python:
|
||||
# gdb -ex r --args python FULL_PATH/lvm2/test/api/python_lvm_unit.py -v TestLvm.test_lv_active_inactive
|
||||
|
||||
#Locate the python binding library to use.
|
||||
python_lib=$(find $abs_top_builddir -name lvm.so)
|
||||
# Unable to test python bindings if library not available
|
||||
|
@ -132,7 +132,7 @@ class TestLvm(unittest.TestCase):
|
||||
vg.extend(d)
|
||||
|
||||
vg.createLvThinpool(pool_name, vg.getSize()/2, 0, 0,
|
||||
lvm.THIN_DISCARDS_PASSDOWN, 1)
|
||||
lvm.THIN_DISCARDS_PASSDOWN, 1)
|
||||
return vg
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user