From aba79b78c7c72ebe6510de422a2bc3ba767e6bdb Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Thu, 24 Jan 2013 08:48:18 +0100 Subject: [PATCH] Add description of Sleep (== pause) command in keutests --- development/autotests/hello-world-in.txt | 3 +++ development/autotests/keytest.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/development/autotests/hello-world-in.txt b/development/autotests/hello-world-in.txt index 4c9d45d08b..49aa1db0b6 100644 --- a/development/autotests/hello-world-in.txt +++ b/development/autotests/hello-world-in.txt @@ -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 diff --git a/development/autotests/keytest.py b/development/autotests/keytest.py index f403fdc99e..a48f85676b 100755 --- a/development/autotests/keytest.py +++ b/development/autotests/keytest.py @@ -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() -- 2.39.2