Module: check_mk
Branch: master
Commit: 9de25b5d9753c88cfed97ca602936e66ed8a3c38
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9de25b5d9753c8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 15 17:41:50 2019 +0100
Make test_registered_api_call_collections always load and expect the CEE call
Change-Id: I0f4259a614d059f2ce0a7b40daffdcd32dec5e7b
---
tests/unit/cmk/gui/test_webapi_unit.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/unit/cmk/gui/test_webapi_unit.py
b/tests/unit/cmk/gui/test_webapi_unit.py
index ea1dad0..6b5ad6d 100644
--- a/tests/unit/cmk/gui/test_webapi_unit.py
+++ b/tests/unit/cmk/gui/test_webapi_unit.py
@@ -1,3 +1,6 @@
+# Needed to make the test load all webapi plugins (incl. CEE)
+import cmk.gui.webapi # pylint: disable=unused-import
+
from cmk.gui.plugins.webapi.utils import api_call_collection_registry
@@ -14,6 +17,7 @@ def test_registered_api_call_collections():
'add_hosts',
'add_servicegroup',
'add_users',
+ 'bake_agents',
'delete_contactgroup',
'delete_folder',
'delete_host',
@@ -39,11 +43,13 @@ def test_registered_api_call_collections():
'get_all_users',
'get_bi_aggregations',
'get_folder',
+ 'get_graph',
'get_host',
'get_hosttags',
'get_ruleset',
'get_rulesets_info',
'get_site',
+ 'get_sla',
'login_site',
'logout_site',
'set_all_sites',