From 72e299196ece60834387476124ba3581969c4330 Mon Sep 17 00:00:00 2001 From: Piotr Pauksztelo Date: Wed, 18 Dec 2024 08:40:19 +0100 Subject: [PATCH] Add debug print to geoip enricher test --- tests/unit/processor/geoip_enricher/test_geoip_enricher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/processor/geoip_enricher/test_geoip_enricher.py b/tests/unit/processor/geoip_enricher/test_geoip_enricher.py index 9ab1cea26..6e7f91020 100644 --- a/tests/unit/processor/geoip_enricher/test_geoip_enricher.py +++ b/tests/unit/processor/geoip_enricher/test_geoip_enricher.py @@ -117,6 +117,7 @@ def test_no_geoip_data_added_if_source_field_is_none(self): assert document.get("geoip") is None def test_source_field_is_none_emits_missing_fields_warning(self): + print("DEBUG - test_source_field_is_none_emits_missing_fields_warning") document = {"client": {"ip": None}} expected = {"client": {"ip": None}, "tags": ["_geoip_enricher_missing_field_warning"]} self._load_rule(self.object.rules[0])