summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorndarshan <dnarayan@redhat.com>2015-02-19 16:11:36 +0530
committerSahina Bose <sabose@redhat.com>2015-02-19 02:54:58 -0800
commitd973cf19e01a2a037ea635c97f8b9ef27a9ce247 (patch)
treedf2e32812c39a33290fdb7dd3760d07c76465f5b /tests
parenta8017b5878561cb40e82f2e7715e0638d87f2600 (diff)
nagios-plugins: Unit test and pep8 fix for check_mounts plugin
Change-Id: I2caf3515768e918446bfa68498ccad315d4ca300 Signed-off-by: ndarshan <dnarayan@redhat.com> Reviewed-on: http://review.gluster.org/9698 Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_mounts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_mounts.py b/tests/test_mounts.py
index 5503e50..49e8104 100644
--- a/tests/test_mounts.py
+++ b/tests/test_mounts.py
@@ -275,7 +275,7 @@ class diskTests(TestCaseBase):
"90;0;1048576 /run/gluster/snaps/680bdbbeed4744a9bcba941" \
"580a5feed/brick1.thinpool=1.210%;80;90;0;1.500 /run/" \
"gluster/snaps/680bdbbeed4744a9bcba941580a5feed/brick1." \
- "metadata=1.370%;80;90;0;0.004"
+ "thinpool-metadata=1.370%;80;90;0;0.004"
self.assertEquals(actual, expected)
def test_getStatusInfo(self):
@@ -364,7 +364,7 @@ class diskTests(TestCaseBase):
'/brick/brk1=3.195%;2;4;0;0.990 '
'/brick/brk1.inode=1.000%;2;4;0;1048576 '
'/brick/brk1.thinpool=1.210%;2;4;0;1.500 '
- '/brick/brk1.metadata=1.370%;2;4;0;0.004',
+ '/brick/brk1.thinpool-metadata=1.370%;2;4;0;0.004',
'/home=0.241%;2;4;0;17.835 '
'/home.inode=1.000%;2;4;0;1196032']
warning = 2