Module: check_mk
Branch: master
Commit: 7cdc4811bcb9af4b52ed3fe77715663189bae608
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7cdc4811bcb9af…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Apr 3 13:59:15 2018 +0200
Adapted tests to latest EC changes, part 4.
Change-Id: I891b402e75362f00428c5aa408f4a361c406a33b
---
tests/integration/cmk/ec/test_mkeventd_status.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/tests/integration/cmk/ec/test_mkeventd_status.py
b/tests/integration/cmk/ec/test_mkeventd_status.py
index dafa8d0..3335a36 100644
--- a/tests/integration/cmk/ec/test_mkeventd_status.py
+++ b/tests/integration/cmk/ec/test_mkeventd_status.py
@@ -57,7 +57,7 @@ def perfcounters():
@pytest.fixture(scope="function")
-def event_status(settings):
+def event_status(settings, perfcounters):
return cmk.ec.main.EventStatus(settings, perfcounters)
@@ -78,11 +78,6 @@ def test_handle_client(status_server, event_status):
def test_mkevent_check_query_perf(config, status_server, event_status, perfcounters):
- assert isinstance(status_server, cmk.ec.main.StatusServer)
- assert isinstance(event_status, cmk.ec.main.EventStatus)
- assert isinstance(event_status._perfcounters, cmk.ec.main.Perfcounters)
- assert isinstance(perfcounters, cmk.ec.main.Perfcounters)
-
for num in range(10000):
event_status.new_event(CMKEventConsole.new_event({
"host": "heute-%d" % num,