fake time.sleep() for use in Python tests