def METHOD_NAME(self, client: MLClient):
    # load_component
    score_func = load_component("./tests/test_configs/pipeline_jobs/job_with_registry_model_as_input/score.yml")
    pipeline_score_model = Input(
        type="custom_model", path="azureml://registries/sdk-test/models/iris_model/versions/1"
    )
    assert_pipeline_job_cancel(client, score_func, pipeline_score_model, self.test_data)