From 3b26eab18c0322700e1d9310c786472f057a76d4 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 9 Nov 2023 14:34:53 +0100 Subject: [PATCH] refactor: Remove unnecessary code --- tests/unit/cli/conftest.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/unit/cli/conftest.py b/tests/unit/cli/conftest.py index fa2657ad..959b184c 100644 --- a/tests/unit/cli/conftest.py +++ b/tests/unit/cli/conftest.py @@ -221,23 +221,6 @@ def several_k8s_pre_processors_without_some_arguments_config(): file_name='several_k8s_pre_processors_without_some_arguments_configuration.json') -def generate_k8s_monitors_config(processors_config): - """ - Generate the configuration related to the given k8s processors configuration - """ - generator = ProcessorGenerator() - - processors = generator.generate(processors_config) - - monitors = {'monitor': {}} - - for processor_name, processor in processors.items(): - monitors['monitor'][processor_name + MONITOR_NAME_SUFFIX] = {COMPONENT_TYPE_KEY: 'k8s', - LISTENER_ACTOR_KEY: processor} - - return monitors - - @pytest.fixture def several_k8s_pre_processors(several_k8s_pre_processors_config): """