Skip to content

Commit

Permalink
Add debug print to geoip enricher test
Browse files Browse the repository at this point in the history
  • Loading branch information
ppcad committed Dec 18, 2024
1 parent 12c1a92 commit 72e2991
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/processor/geoip_enricher/test_geoip_enricher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 72e2991

Please sign in to comment.