From 194bab831bcd1236f183938882d2ca0d596ef500 Mon Sep 17 00:00:00 2001 From: Emir Muhammad Date: Thu, 28 May 2026 15:07:19 +0200 Subject: [PATCH] Update to use setdefault and extend --- src/integrationtest/log_file_checks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/integrationtest/log_file_checks.py b/src/integrationtest/log_file_checks.py index e9f4802..8f83c51 100644 --- a/src/integrationtest/log_file_checks.py +++ b/src/integrationtest/log_file_checks.py @@ -107,7 +107,9 @@ def logs_are_error_free(log_file_names, show_all_problems=True, print_logfilenam # 06-Apr-2026, KAB: if the verbosity level is set to enable DRUNC debug messages, add # some strings to the excluded substring map so we don't trigger on those debug messages if verbosity_helper.compare_level(IntegtestVerbosityLevels.drunc_debug): - excluded_substring_map["SSH_SHELL_process_manager"] = ["RAN:", "LogLevel=error"] + excluded_substring_map.setdefault("SSH_SHELL_process_manager", []).extend( + ["RAN:", "LogLevel=error"] + ) all_ok=True #print("") # Clear potential dot from pytest