Skip to content

Commit a3da19a

Browse files
samgoodmanSam Goodman
and
Sam Goodman
authored
fix: Changed system test to use list_models() correctly (#1397)
* chore: release 1.13.1 Release-As: 1.13.1 * Changed test to use list_models() correctly * feat: Changed system test to use list_models() correctly Co-authored-by: Sam Goodman <[email protected]>
1 parent 8560fa8 commit a3da19a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/system/aiplatform/test_model_upload.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ def test_upload_and_deploy_xgboost_model(self, shared_state):
7777
assert model.description == "new_description"
7878
assert model.labels == {"my_label": "updated"}
7979

80-
assert len(endpoint.list_models) == 1
80+
assert len(endpoint.list_models()) == 1
8181
endpoint.deploy(model, traffic_percentage=100)
82-
assert len(endpoint.list_models) == 2
82+
assert len(endpoint.list_models()) == 2
8383
traffic_split = {
8484
deployed_model.id: 50 for deployed_model in endpoint.list_models()
8585
}

0 commit comments

Comments
 (0)