def test_instrumented_py_pipeline_runs():
    """
    Tests whether the pipeline works with instrumentation
    """
    dag = run_and_assert_all_op_outputs_inspected(HEALTHCARE_PY, ["age_group", "race"], HEALTHCARE_PNG,
                                                  [custom_monkeypatching])
    assert len(dag) == 37
Exemple #2
0
def test_instrumented_py_pipeline_runs():
    """
    Tests whether the pipeline works with instrumentation
    """
    dag = run_and_assert_all_op_outputs_inspected(COMPAS_PY, ['sex', 'race'],
                                                  COMPAS_PNG)
    assert len(dag) == 29
Exemple #3
0
def test_instrumented_py_pipeline_runs():
    """
    Tests whether the pipeline works with instrumentation
    """
    dag = run_and_assert_all_op_outputs_inspected(ADULT_SIMPLE_PY, ["race"],
                                                  ADULT_SIMPLE_PNG)
    assert len(dag) == 12