@contextlib.contextmanager
def log_start_finish(msg, logger, level=logging.DEBUG):
    logger.log(level, 'start: ' + msg)
    yield
    logger.log(level, 'finish: ' + msg)
Make sure the client waits for jobs as expected
dataset/ETHPy150Open UDST/urbansim/urbansim/utils/logutil.py/log_start_finish--crossover with--dataset/ETHPy150Open openstack/turbo-hipster/tests/disabled_worker_manager.py/TestZuulClient.test_waiting_for_job