master - tests: pytest update
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=70616187b32ee890eae8e8607c2d247d16cd6787 Commit: 70616187b32ee890eae8e8607c2d247d16cd6787 Parent: 205e3ff88898848b6e5dcfde74bff829bd27bf83 Author: Zdenek Kabelac <[email protected]> AuthorDate: Sun Oct 26 07:27:23 2014 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Sun Oct 26 18:37:13 2014 +0100
tests: pytest update
--- test/api/pytest.sh | 3 +++ test/api/python_lvm_unit.py | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-)
test/api/pytest.sh +3 -0
@@ -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
test/api/python_lvm_unit.py +1 -1
@@ -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