Module: check_mk
Branch: master
Commit: 4676a5d7ca1fb147715831e9bef7f1fd3faf4c1c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4676a5d7ca1fb1…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Feb 23 10:18:23 2018 +0100
Pass the command name to the test settings.
Change-Id: If99615587c67eb6368317e08b6a92713065624a8
---
tests/mkeventd/test_mkeventd_status.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/mkeventd/test_mkeventd_status.py
b/tests/mkeventd/test_mkeventd_status.py
index 45a2496..8e24aa5 100644
--- a/tests/mkeventd/test_mkeventd_status.py
+++ b/tests/mkeventd/test_mkeventd_status.py
@@ -48,7 +48,10 @@ class FakeStatusSocket(object):
@pytest.fixture(scope="function")
def settings():
mkeventd.g_settings = cmk.ec.settings.settings(
- '1.2.3i45', pathlib.Path('/omd/sites/foo'),
pathlib.Path('/omd/sites/foo/etc/check_mk'), [])
+ '1.2.3i45',
+ pathlib.Path('/omd/sites/foo'),
+ pathlib.Path('/omd/sites/foo/etc/check_mk'),
+ ['mkeventd'])
return mkeventd.g_settings