From 59e3d72233672fa6d70c5126fe622124dce4a691 Mon Sep 17 00:00:00 2001 From: heitorlessa Date: Tue, 21 Nov 2023 10:29:37 +0100 Subject: [PATCH] chore: ignore sonar false positive --- tests/functional/test_logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/test_logger.py b/tests/functional/test_logger.py index e868d42b21..b7eeed779c 100644 --- a/tests/functional/test_logger.py +++ b/tests/functional/test_logger.py @@ -1081,7 +1081,7 @@ def test_log_level_advanced_logging_controler_warning_different_log_levels_using def test_logger_add_remove_filter(stdout, service_name): # GIVEN a Logger with a custom logging filter - class ApiKeyFilter(logging.Filter): + class ApiKeyFilter(logging.Filter): # NOSONAR # need filter to test actual impl. def filter(self, record): if getattr(record, "api_key", None): record.api_key = "REDACTED"