diff --git a/tests/fastapi/test_fastapi.py b/tests/fastapi/test_fastapi.py index 9a5b98a..53709a8 100644 --- a/tests/fastapi/test_fastapi.py +++ b/tests/fastapi/test_fastapi.py @@ -108,6 +108,7 @@ def test_mozlog_without_correlation_id_middleware(client, caplog): def test_request_id_passed_to_all_log_messages(caplog): + caplog.set_level(logging.INFO) caplog.handler.addFilter(RequestIdLogFilter()) caplog.handler.setFormatter(MozlogFormatter())