From a32eaa9416095d51e3feb79cf976dd93d44c20ff Mon Sep 17 00:00:00 2001
From: Giovanna Lazzari Miotto <giovanna.lazzari.miotto@cern.ch>
Date: Fri, 4 Oct 2024 13:16:35 +0200
Subject: [PATCH] test: Remove default from dict getter

---
 test/suite/main.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/suite/main.py b/test/suite/main.py
index 1df1b5e1..0f4a0165 100644
--- a/test/suite/main.py
+++ b/test/suite/main.py
@@ -105,7 +105,7 @@ class ScdaqTest:
 
         self.output_path, self.output_prefix, self.output_suffix = self.extract_config_values(self.config_file)
 
-        self.bytes_to_hash = Config.d_hashableBytes.get(test_id, Config.k_defaultHashableBytes)
+        self.bytes_to_hash = Config.d_hashableBytes.get(test_id)
         self.ref_hash_file = Config.p_hashDir / f"{test_id}_{self.bytes_to_hash}_{Config.k_referenceCommitTag}"
 
         self.artifact_path = Path(str(Config.p_testArtifactsDir) + "/" + session_id + f"/{test_id}")
@@ -170,7 +170,7 @@ class ScdaqTest:
 
     def run_test(self, test_id: str, test_config: Config):
         scdaq_command = f"./{test_config.p_scdaqExecutable} --config {self.config_file}"
-        timeout_secs = test_config.d_runtimesSecs.get(test_id, test_config.k_defaultRuntimeSecs)
+        timeout_secs = test_config.d_runtimesSecs.get(test_id)
 
         controller = TestController(scdaq_command, timeout_secs)
         self.file_manager.setup_test(test_id, self.artifact_path)
-- 
GitLab