Fixing ui and stacklight tests
diff --git a/cvp_checks/tests/test_stacklight.py b/cvp_checks/tests/test_stacklight.py
index 0b1d20a..e2446c1 100644
--- a/cvp_checks/tests/test_stacklight.py
+++ b/cvp_checks/tests/test_stacklight.py
@@ -25,7 +25,7 @@
assert resp.split()[10] == '0', \
'elasticsearch status is not good {}'.format(
json.dumps(resp, indent=4))
- assert resp.split()[13] == '100.0', \
+ assert resp.split()[13] == '100.0%', \
'elasticsearch status is not good {}'.format(
json.dumps(resp, indent=4))
diff --git a/cvp_checks/tests/test_ui_addresses.py b/cvp_checks/tests/test_ui_addresses.py
index 91f67de..22e8319 100644
--- a/cvp_checks/tests/test_ui_addresses.py
+++ b/cvp_checks/tests/test_ui_addresses.py
@@ -51,7 +51,7 @@
result = local_salt_client.cmd(
'keystone:server',
'cmd.run',
- ['curl http://{}:15011/ 2>&1 | grep AlertManager'.format(IP)],
+ ['curl -s http://{}:15011/ | grep Alertmanager'.format(IP)],
expr_form='pillar')
assert len(result[result.keys()[0]]) != 0, \
'AlertManager page is not reachable on {} from ctl nodes'.format(IP)