From 62d09d4dcb67127066488df201f22e816f5cc328 Mon Sep 17 00:00:00 2001 From: Kyle MacMillan Date: Tue, 3 Dec 2024 14:23:45 -0500 Subject: [PATCH] Updated debug formatter in test --- tests/test_logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_logging.py b/tests/test_logging.py index c3b88e2b..187dba67 100644 --- a/tests/test_logging.py +++ b/tests/test_logging.py @@ -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"]