Skip to content

Commit

Permalink
run format
Browse files Browse the repository at this point in the history
  • Loading branch information
khanayan123 committed Jan 10, 2025
1 parent 6945a62 commit 3d14959
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_config_consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,10 @@ def parse_log_injection_message(log_message):
message = json.loads(data.get("message"))
except json.JSONDecodeError:
continue
if message and message.get("dd") and message.get(log_injection_fields[context.library.library]["message"]) == log_message:
if (
message
and message.get("dd")
and message.get(log_injection_fields[context.library.library]["message"]) == log_message
):
dd = message.get("dd")
return dd

0 comments on commit 3d14959

Please sign in to comment.