Add description of Sleep (== pause) command in keutests

This commit is contained in:
Kornel Benko 2013-01-24 08:48:18 +01:00
parent e20f78c4b0
commit aba79b78c7
2 changed files with 4 additions and 1 deletions

View File

@ -47,6 +47,9 @@
# KD: n
# Changes the delay among typed charactes to n milliseconds.
#
# Sleep f
# Single delay of f seconds.
#
#
# This example instructs LyX to type "Hello World", then exports it as
# LaTeX, and verifies that the typed characters are indeed present in the

View File

@ -354,7 +354,7 @@ while not failed:
print 'lyx_pid: ' + lyx_pid + '\n'
print 'lyx_win: ' + lyx_window_name + '\n'
elif c[0:5] == 'Sleep':
print "Sleeping for " + c[6:] + "\n"
print "Sleeping for " + c[6:] + " seconds\n"
time.sleep(float(c[6:]))
elif c[0:4] == 'Exec':
cmd = c[5:].rstrip()