Skip to content

Commit

Permalink
Updated debug formatter in test
Browse files Browse the repository at this point in the history
  • Loading branch information
k-macmillan committed Dec 3, 2024
1 parent 703ed22 commit 62d09d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_get_handler_sets_up_logging_appropriately_with_debug(tmpdir, app, app_n
handler = logging.get_handler(app)

assert type(handler) is builtin_logging.StreamHandler
assert type(handler.formatter) is builtin_logging.Formatter
assert type(handler.formatter) is JsonFormatter
assert not (tmpdir / 'foo').exists()

application = app.config["NOTIFY_APP_NAME"]
Expand Down

0 comments on commit 62d09d4

Please sign in to comment.