Module: check_mk
Branch: master
Commit: 97a6498fae36c46ca610bd00a00001b302b57835
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=97a6498fae36c4…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Fri Jan 11 11:35:42 2019 +0100
Sync agents directory in integration tests
Change-Id: Iaeeca7c89cf4db42999e3859479e2ce59f4d5a85
---
tests/testlib/__init__.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index 314b9b3..6763a83 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -592,6 +592,7 @@ class Site(object):
cmk_path() + "/livestatus",
cmk_path() + "/livestatus/api/python",
cmk_path() + "/bin",
+ cmk_path() + "/agents",
cmk_path() + "/modules",
cmk_path() + "/cmk_base",
cmk_path() + "/cmk",
@@ -1823,8 +1824,9 @@ class CheckManager(object):
config.load_all_checks(check_api.get_check_api_context) # loads all checks
else:
config._initialize_data_structures()
- config.load_checks(check_api.get_check_api_context,
- map(lambda f: os.path.join(cmk.utils.paths.checks_dir, f),
file_names))
+ config.load_checks(
+ check_api.get_check_api_context,
+ map(lambda f: os.path.join(cmk.utils.paths.checks_dir, f), file_names))
return self