Module: check_mk
Branch: master
Commit: 9eb26dd7ba1d8af8d5c577777bc014e23d1ba7ee
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9eb26dd7ba1d8a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Sep 28 15:18:39 2018 +0200
Fixed invalid hostname in test
Change-Id: I22ef0acb37d788a9c7b1fc5704002be4d872d8c7
---
tests/integration/web/test_webapi.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/integration/web/test_webapi.py b/tests/integration/web/test_webapi.py
index 76ed6d3..3b83c3f 100644
--- a/tests/integration/web/test_webapi.py
+++ b/tests/integration/web/test_webapi.py
@@ -452,7 +452,7 @@ def test_get_graph_hover(web, graph_test_config):
u'line_type': u'stack',
u'expression': [
u'operator', u'+',
- [[u'rrd', u'heute', u'heute',
u'Check_MK', u'user_time', None, 1], [u'rrd', u'heute',
u'heute', u'Check_MK', u'children_user_time', None, 1]]
+ [[u'rrd', u'test-host-get-graph',
u'test-host-get-graph', u'Check_MK', u'user_time', None, 1],
[u'rrd', u'test-host-get-graph', u'test-host-get-graph',
u'Check_MK', u'children_user_time', None, 1]]
],
u'unit': u's',
u'title': u'CPU time in user space'
@@ -461,7 +461,7 @@ def test_get_graph_hover(web, graph_test_config):
u'color': u'#ff8840', u'line_type':
u'stack',
u'expression': [
u'operator', u'+',
- [[u'rrd', u'heute', u'heute',
u'Check_MK', u'system_time', None, 1], [u'rrd', u'heute',
u'heute', u'Check_MK', u'children_system_time', None, 1]]
+ [[u'rrd', u'test-host-get-graph',
u'test-host-get-graph', u'Check_MK', u'system_time', None, 1],
[u'rrd', u'test-host-get-graph', u'test-host-get-graph',
u'Check_MK', u'children_system_time', None, 1]]
],
u'unit': u's',
u'title': u'CPU time in operating system'
@@ -469,14 +469,14 @@ def test_get_graph_hover(web, graph_test_config):
{
u'color': u'#00b2ff',
u'line_type': u'stack',
- u'expression': [u'rrd', u'heute',
u'heute', u'Check_MK', u'cmk_time_agent', None, 1],
+ u'expression': [u'rrd',
u'test-host-get-graph', u'test-host-get-graph', u'Check_MK',
u'cmk_time_agent', None, 1],
u'unit': u's',
u'title': u'Time spent waiting for Check_MK agent'
},
{
u'color': u'#d080af',
u'line_type': u'line',
- u'expression': [u'rrd', u'heute',
u'heute', u'Check_MK', u'execution_time', None, 1],
+ u'expression': [u'rrd',
u'test-host-get-graph', u'test-host-get-graph', u'Check_MK',
u'execution_time', None, 1],
u'unit': u's', u'title': u'Total
execution time'
}
],