Skip to content

Commit 035197f

Browse files
committed
Fixed test
1 parent 20d1ff2 commit 035197f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

samples/model-builder/deploy_model_with_automatic_resources_test.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@
1818

1919

2020
def test_deploy_model_with_automatic_resources_sample(
21-
mock_sdk_init,
22-
mock_model,
23-
mock_init_model,
24-
mock_deploy_model_with_automatic_resources,
21+
mock_sdk_init, mock_model, mock_init_model, mock_deploy_model,
2522
):
2623

2724
deploy_model_with_automatic_resources_sample.deploy_model_with_automatic_resources_sample(
@@ -43,7 +40,7 @@ def test_deploy_model_with_automatic_resources_sample(
4340

4441
mock_init_model.assert_called_once_with(model_name=constants.MODEL_NAME)
4542

46-
mock_deploy_model_with_automatic_resources.assert_called_once_with(
43+
mock_deploy_model.assert_called_once_with(
4744
endpoint=constants.ENDPOINT_NAME,
4845
deployed_model_display_name=constants.DEPLOYED_MODEL_DISPLAY_NAME,
4946
traffic_percentage=constants.TRAFFIC_PERCENTAGE,

0 commit comments

Comments
 (0)