def rand_sleep(max=60):
    time.sleep(random.randint(0, max))
    return True
Sleep for a random number of seconds, used to test long-running commands
dataset/ETHPy150Open saltstack/salt/salt/modules/test.py/rand_sleep