def test_query_sanitized_data(list_runnable_jobs, runnable_jobs_data, sanitized_data):
    list_runnable_jobs.return_value = runnable_jobs_data
    data = query_sanitized_data()
    assert data == sanitized_data
示例#2
0
def test_query_sanitized_data(query_runnable_jobs, query_task_id,
                              runnable_jobs_data, sanitized_data):
    query_runnable_jobs.return_value = runnable_jobs_data
    query_task_id.return_value = 'MOCKED'
    data = query_sanitized_data()
    assert data == sanitized_data
def test_query_sanitized_data(list_runnable_jobs, runnable_jobs_data,
                              sanitized_data):
    list_runnable_jobs.return_value = runnable_jobs_data
    data = query_sanitized_data()
    assert data == sanitized_data
def test_query_sanitized_data(query_runnable_jobs, query_task_id,
                              runnable_jobs_data, sanitized_data):
    query_runnable_jobs.return_value = runnable_jobs_data
    query_task_id.return_value = 'MOCKED'
    data = query_sanitized_data()
    assert data == sanitized_data