]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
Fix bug for test command
authorSRE <serge.rehbinder@cea.fr>
Tue, 30 May 2017 07:59:30 +0000 (09:59 +0200)
committerSRE <serge.rehbinder@cea.fr>
Tue, 30 May 2017 07:59:30 +0000 (09:59 +0200)
src/test_module.py

index 56c2e0a9ac4be30ed07adebf37db9cf072b5e457..7dc15fa16c1b7aeb739338c0a7ef42ae014193f7 100644 (file)
@@ -564,9 +564,7 @@ class Test:
         time_out = self.get_test_timeout(sessionname,
                                          DEFAULT_TIMEOUT)
 
-        time_out_salome = src.get_cfg_param(self.config.SITE.test,
-                                            "timeout_app",
-                                            DEFAULT_TIMEOUT)
+        time_out_salome = DEFAULT_TIMEOUT
 
         # generate wrapper script
         script_path = os.path.join(out_path, 'wrapperScript.py')
@@ -784,7 +782,7 @@ class Test:
             self.settings.clear()
 
         # read known failures pyconf
-        if "testerror" in self.config.SITE:
+        if "testerror" in self.config.LOCAL:
             #import testerror
             #self.known_errors = testerror.read_test_failures(
             #                            self.config.TOOLS.testerror.file_path,