Skip to content

Commit

Permalink
chore: ignore sonar false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
heitorlessa committed Nov 21, 2023
1 parent 0d227b7 commit 59e3d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 59e3d72

Please sign in to comment.