1
0
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:
Zdenek Kabelac 2014-10-26 07:27:23 +01:00
parent 205e3ff888
commit 70616187b3
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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