From e9745f9fec910e68e53db091eee90fb6439cd602 Mon Sep 17 00:00:00 2001 From: Logan Connolly Date: Fri, 16 Aug 2024 08:29:18 +0200 Subject: [PATCH] splunk_system_msg: move check to splunk plugin namespace Change-Id: Ia27a416b3c8153cfed8a6c483b3af83d5d0839df --- .../agent_based/system_msg.py} | 0 .../{collection => splunk}/checkman/splunk_system_msg | 0 .../test_system_msg.py} | 7 +------ 3 files changed, 1 insertion(+), 6 deletions(-) rename cmk/plugins/{collection/agent_based/splunk_system_msg.py => splunk/agent_based/system_msg.py} (100%) rename cmk/plugins/{collection => splunk}/checkman/splunk_system_msg (100%) rename tests/unit/cmk/plugins/{collection/agent_based/test_splunk_system_msg.py => splunk/test_system_msg.py} (97%) diff --git a/cmk/plugins/collection/agent_based/splunk_system_msg.py b/cmk/plugins/splunk/agent_based/system_msg.py similarity index 100% rename from cmk/plugins/collection/agent_based/splunk_system_msg.py rename to cmk/plugins/splunk/agent_based/system_msg.py diff --git a/cmk/plugins/collection/checkman/splunk_system_msg b/cmk/plugins/splunk/checkman/splunk_system_msg similarity index 100% rename from cmk/plugins/collection/checkman/splunk_system_msg rename to cmk/plugins/splunk/checkman/splunk_system_msg diff --git a/tests/unit/cmk/plugins/collection/agent_based/test_splunk_system_msg.py b/tests/unit/cmk/plugins/splunk/test_system_msg.py similarity index 97% rename from tests/unit/cmk/plugins/collection/agent_based/test_splunk_system_msg.py rename to tests/unit/cmk/plugins/splunk/test_system_msg.py index d4b125bed5b..c49f40cb8dc 100644 --- a/tests/unit/cmk/plugins/collection/agent_based/test_splunk_system_msg.py +++ b/tests/unit/cmk/plugins/splunk/test_system_msg.py @@ -6,12 +6,7 @@ import pytest from cmk.agent_based.v2 import Result, State, StringTable -from cmk.plugins.collection.agent_based.splunk_system_msg import ( - check, - parse, - Section, - SplunkMessage, -) +from cmk.plugins.splunk.agent_based.system_msg import check, parse, Section, SplunkMessage @pytest.mark.parametrize(