diff options
author | Sahina Bose <sabose@redhat.com> | 2014-04-16 16:26:10 +0530 |
---|---|---|
committer | Bala.FA <barumuga@redhat.com> | 2014-04-28 16:20:46 +0530 |
commit | d8a700fae2a92e8f447e9fa64844028a7cfc56e9 (patch) | |
tree | a1c561e41b6e6647eff762ddb11361af8bc42258 /tests | |
parent | 5628129026c62699025f3ba13b16f442b267aa0f (diff) |
glustercli: Changed return code when quota not enabled
When quota is not enabled the gluster cli command
fails and was giving the wrong status.
Fixed this.
Change-Id: Ibf9709f7ccd17565473d5a258b323123f6904b82
Signed-off-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_storage.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_storage.py b/tests/test_storage.py index c736d1d..2426e4e 100644 --- a/tests/test_storage.py +++ b/tests/test_storage.py @@ -229,9 +229,8 @@ class TestStorageUtils(TestCaseBase): 'LVM2_VG_MDA_USED_COUNT': '1', 'LVM2_VG_FREE': '0', 'LVM2_VG_SEQNO': '3', - 'LVM2_LV_PATH': - ['/dev/vg_shubhnd/lv_root', - '/dev/vg_shubhnd/lv_swap'], + 'LVM2_LV_PATH': ['/dev/vg_shubhnd/lv_root', + '/dev/vg_shubhnd/lv_swap'], 'LVM2_VG_FREE_COUNT': '0', 'LVM2_MAX_PV': '0', 'LVM2_MAX_LV': '0', |