summaryrefslogtreecommitdiffstats
path: root/tests/test_config_generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_config_generator.py')
-rw-r--r--tests/test_config_generator.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_config_generator.py b/tests/test_config_generator.py
index 8c79057..d8e8789 100644
--- a/tests/test_config_generator.py
+++ b/tests/test_config_generator.py
@@ -45,14 +45,12 @@ class TestGlusterNagiosConfManager(TestCaseBase):
def _verifyHostServices(self, hostConfig, hostData):
for brick in hostData['bricks']:
- serviceDesc = "Brick Status - %s:%s" % (hostData['hostname'],
- brick['brickpath'])
+ serviceDesc = "Brick Status - %s" % brick['brickpath']
service = self._findServiceInList(hostConfig['host_services'],
serviceDesc)
self.assertNotEqual(service, None,
"Brick status service is not created")
- serviceDesc = "Brick Utilization - %s:%s" % (hostData['hostname'],
- brick['brickpath'])
+ serviceDesc = "Brick Utilization - %s" % brick['brickpath']
service = self._findServiceInList(hostConfig['host_services'],
serviceDesc)
self.assertNotEqual(service, None,