Files
testium/doc/examples/utils.py
François 2177715641 examples: long_wait py_func/lua_func to exercise Stop
Two extra steps in example_simple.tum that sleep for 10s, used to
verify that pressing Stop interrupts engaged blocking steps.
2026-05-17 10:42:49 +02:00

18 lines
329 B
Python

from time import sleep
def dummy_exit(useless1, useless2):
return True
def exit_exc(useless1, useless2):
raise Exception('Crash of exit function')
def funcToBeExecuted (bla):
print(bla)
return bla
def funcToBeExecuted2 (bla):
print(bla)
return blo
def long_wait (sec):
sleep(sec)