From 451e1b9f5a44eb0b8c798f6aa1ab6bd39516974b Mon Sep 17 00:00:00 2001 From: ekneg54 Date: Wed, 11 Sep 2024 20:33:27 +0200 Subject: [PATCH] fix processor tests --- tests/unit/connector/test_http_input.py | 4 ++++ tests/unit/processor/base.py | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/unit/connector/test_http_input.py b/tests/unit/connector/test_http_input.py index c02479ab5..c094cbf26 100644 --- a/tests/unit/connector/test_http_input.py +++ b/tests/unit/connector/test_http_input.py @@ -537,3 +537,7 @@ def test_health_endpoints_are_shortened(self): health_endpoints = connector.health_endpoints for endpoint, expected in zip(health_endpoints, expected_matching_regexes): assert re.match(expected, endpoint) + + @pytest.mark.skip("Not implemented") + def test_setup_calls_wait_for_health(self): + pass diff --git a/tests/unit/processor/base.py b/tests/unit/processor/base.py index d0adc908b..9f1c4225b 100644 --- a/tests/unit/processor/base.py +++ b/tests/unit/processor/base.py @@ -95,8 +95,6 @@ def setup_method(self) -> None: patcher.start() self.patchers.append(patcher) super().setup_method() - config = {"Test Instance Name": self.CONFIG} - self.object = Factory.create(configuration=config) self.specific_rules = self.set_rules(self.specific_rules_dirs) self.generic_rules = self.set_rules(self.generic_rules_dirs) self.match_all_event = {