Sleep after each char send through screen which makes testing even slower but more reliable

This commit is contained in:
Holger Rapp 2009-07-10 13:26:52 +02:00
parent 86e7b3a1b5
commit 49aa031a95

View File

@ -21,7 +21,8 @@ JB = "+" # Jump backwards
EX = "\t" # EXPAND
def send(s,session):
os.system("screen -x %s -X stuff '%s'" % (session,s))
os.system("screen -x %s -X stuff '%s'" % (session,s))
time.sleep(.005)
def type(str, session):
"""