def METHOD_NAME(runner: CollectingQueryRunner, nr_pipe: NRTrainingPipeline) -> None:
    nr_pipe.addLinearRegression(penalty=1)
    assert runner.last_query() == "CALL gds.alpha.pipeline.nodeRegression.addLinearRegression($pipeline_name, $config)"
    assert runner.last_params() == {
        "pipeline_name": nr_pipe.name(),
        "config": {"penalty": 1},
    }