

def _create_job_exec_with_proxy(job_id, type, configs=None, info=None):
    j_exec = _create_job_exec(job_id, type, configs)
    j_exec.id = '00000000-1111-2222-3333-4444444444444444'
    j_exec.info = info
    j_exec.job_configs['proxy_configs'] = {
        'proxy_username': ('job_' + j_exec.id),
        'proxy_password': '55555555-6666-7777-8888-999999999999',
        'proxy_trust_id': '0123456789abcdef0123456789abcdef',
    }
    return j_exec

dataset/ETHPy150Open openstack/sahara/sahara/tests/unit/service/edp/edp_test_utils.py _create_job_exec_with_proxy/original