Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 28, 2023
1 parent f35d80f commit 328df85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/vdk-plugins/vdk-structlog/tests/test_structlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ def test_custom_format_overrides_default(log_format):

for log in logs:
if "Log statement with no bound context" in log:
assert _matches_custom_format(log), \
f"Log format did not match the custom format. Log: {log}"
assert _matches_custom_format(
log
), f"Log format did not match the custom format. Log: {log}"
break
else:
pytest.fail("Log statement with no bound context not found in logs")
Expand Down

0 comments on commit 328df85

Please sign in to comment.