mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Add sleep to test runner
This commit is contained in:
parent
2251f56692
commit
b58bf7daac
@ -44,6 +44,15 @@ def stdout_print():
|
||||
print ('foo')
|
||||
return 'bar'
|
||||
|
||||
|
||||
def sleep(s_time=10):
|
||||
'''
|
||||
Sleep t seconds, then return True
|
||||
'''
|
||||
print (s_time)
|
||||
time.sleep(s_time)
|
||||
return True
|
||||
|
||||
def stream():
|
||||
'''
|
||||
Return True
|
||||
|
Loading…
Reference in New Issue
Block a user