summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-11-24 00:44:43 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2014-11-24 14:39:04 +0100
commit74e6135c4f06f922672a057e7c47f513e84d035d (patch)
treecc4e6d4e2f5785aacce3faf22542a35a675bfcac
parent1e80265c368f135bf7a92c5bb4ed49948a76f712 (diff)
downloadlvm2-74e6135c4f06f922672a057e7c47f513e84d035d.tar.gz
tests: use proper LVMTEST prefix for VG name
Cleaner needs prefix to do its jobs and clean any left VG from python test as well.
-rwxr-xr-xtest/api/python_lvm_unit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api/python_lvm_unit.py b/test/api/python_lvm_unit.py
index c33877512..2f22fae23 100755
--- a/test/api/python_lvm_unit.py
+++ b/test/api/python_lvm_unit.py
@@ -103,7 +103,7 @@ class AllowedPVS(object):
class TestLvm(unittest.TestCase):
- VG_P = 'py_unit_test_'
+ VG_P = os.environ.get('PREFIX')
@staticmethod
def _get_pv_device_names():