Module: check_mk
Branch: master
Commit: 4fa42f54be58563ffda4f3822fdb0cabcef2f1b9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4fa42f54be5856…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Jan 29 14:59:27 2019 +0100
fixed another integration test with all_hosts/host_paths
Change-Id: Ie6d3de96e5f85ed3b8c91ed707ca52a6827ec1b6
---
tests/integration/cmk_base/test_data_sources.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/integration/cmk_base/test_data_sources.py
b/tests/integration/cmk_base/test_data_sources.py
index 22c75de..3b02afe 100644
--- a/tests/integration/cmk_base/test_data_sources.py
+++ b/tests/integration/cmk_base/test_data_sources.py
@@ -527,6 +527,7 @@ def test_data_sources_of_hosts(clear_config_caches, monkeypatch):
all_hosts = [("%s|%s" % (name, h["tags"])) for name, h in hosts]
monkeypatch.setattr(config, "all_hosts", all_hosts)
+ monkeypatch.setattr(config, "host_paths", dict((name, "") for
name, h in hosts))
monkeypatch.setattr(config, "datasource_programs", [
('echo 1', [], ['ds-host-14', 'all-agents-host',
'all-special-host'], {}),