Salome HOME
Add test for shell, job and jobs commands
[tools/sat.git] / test / _testTools / tools.py
index a518644559ded66862f9eb2fa1abeb15f4530fa0..2930b99601f8fb1bfe8a044c80bde19328808ac1 100644 (file)
@@ -65,13 +65,13 @@ def check_proc_existence_and_kill(regex):
         return pid
     return 0
 
-def check_proc_existence_and_kill_multi(regex, nb_kills, time_between_to_checks = 1):
+def check_proc_existence_and_kill_multi(regex, nb_kills, time_between_two_checks = 1):
     found = False
     i = 0
     while not found and i < nb_kills :
         found = check_proc_existence_and_kill(regex)
         if found:
             return found
-        time.sleep(time_between_to_checks)
+        time.sleep(time_between_two_checks)
         i+=1
     return 0
\ No newline at end of file