Skip to content

Commit

Permalink
another assert for help method name
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Jan 14, 2025
1 parent 0915f32 commit 8680166
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions skore/tests/unit/sklearn/test_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ def test_estimator_report_repr(binary_classification_data):

repr_str = repr(report)
assert "skore.EstimatorReport" in repr_str
assert "reporter.help()" in repr_str


@pytest.mark.parametrize(
Expand Down Expand Up @@ -345,6 +346,7 @@ def test_estimator_report_plot_repr(binary_classification_data):

repr_str = repr(report.metrics.plot)
assert "skore.EstimatorReport.metrics.plot" in repr_str
assert "reporter.metrics.plot.help()" in repr_str


def test_estimator_report_plot_roc(binary_classification_data):
Expand Down Expand Up @@ -484,6 +486,7 @@ def test_estimator_report_metrics_repr(binary_classification_data):

repr_str = repr(report.metrics)
assert "skore.EstimatorReport.metrics" in repr_str
assert "reporter.metrics.help()" in repr_str


@pytest.mark.parametrize(
Expand Down

0 comments on commit 8680166

Please sign in to comment.