From 9ff8df61dc6de8aba6a5dbdbe38adcb3b23e43f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Prchl=C3=ADk?= Date: Thu, 9 Feb 2023 14:04:20 +0100 Subject: [PATCH] squash: ad unit test for bootstrap logger --- tests/unit/test_logging.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/test_logging.py b/tests/unit/test_logging.py index a6ab32d8c0..9d07332eab 100644 --- a/tests/unit/test_logging.py +++ b/tests/unit/test_logging.py @@ -220,3 +220,7 @@ def test_labels(caplog: _pytest.logging.LogCaptureFixture, root_logger: Logger) root_logger.labels += ['bar'] _exercise_logger(caplog, root_logger, labels=['foo', 'bar']) + + +def test_bootstrap_logger(caplog: _pytest.logging.LogCaptureFixture) -> None: + _exercise_logger(caplog, Logger.get_boostrap_logger())