Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansteakley committed Nov 1, 2024
1 parent 7a8cd9e commit 1ec3660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5924,7 +5924,7 @@ def test_estimator_get_app_url_fail(sagemaker_session):
assert "does not support URL retrieval." in str(error)


@patch("sagemaker.estimator.log_sagemaker_job_to_mlflow")
@patch("sagemaker.mlflow.forward_sagemaker_metrics.log_sagemaker_job_to_mlflow")
def test_forward_sagemaker_metrics(mock_log_to_mlflow, sagemaker_session):
f = DummyFramework(
entry_point=SCRIPT_PATH,
Expand All @@ -5943,7 +5943,7 @@ def test_forward_sagemaker_metrics(mock_log_to_mlflow, sagemaker_session):
mock_log_to_mlflow.assert_called_once()


@patch("sagemaker.estimator.log_sagemaker_job_to_mlflow")
@patch("sagemaker.mlflow.forward_sagemaker_metrics.log_sagemaker_job_to_mlflow")
def test_no_forward_sagemaker_metrics(mock_log_to_mlflow, sagemaker_session):
f = DummyFramework(
entry_point=SCRIPT_PATH,
Expand Down

0 comments on commit 1ec3660

Please sign in to comment.