Skip to content

Commit 57068e8

Browse files
fix existing test cases
1 parent 722db37 commit 57068e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/unitary/with_extras/model/test_generic_model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -937,15 +937,15 @@ def test_predict_success__serialize_input(self, mock_url, mock_client, mock_sign
937937
"test_args",
938938
[
939939
{
940-
"model_id": "test_model_id",
940+
"model_id": "xxxx.datasciencemodel.xxxx",
941941
"model_file_name": "test_model_file_name",
942942
"artifact_dir": "/test_artifact_dir",
943943
"bucket_uri": "test_bucket_uri",
944944
"remove_existing_artifact": False,
945945
"ignore_conda_error": True,
946946
},
947947
{
948-
"model_id": "test_model_id",
948+
"model_id": "xxxx.datasciencemodel.xxxx",
949949
"model_file_name": "test_model_file_name",
950950
"artifact_dir": "/test_artifact_dir",
951951
"auth": {"config": "value"},
@@ -1050,8 +1050,8 @@ def test_from_model_deployment(
10501050
"""Tests loading model from model deployment."""
10511051
test_auth_config = {"signer": {"config": "value"}}
10521052
mock_default_signer.return_value = test_auth_config
1053-
test_model_deployment_id = "md_ocid"
1054-
test_model_id = "model_ocid"
1053+
test_model_deployment_id = "xxxx.datasciencemodeldeployment.xxxx"
1054+
test_model_id = "xxxx.datasciencemodel.xxxx"
10551055
md_props = ModelDeploymentProperties(model_id=test_model_id)
10561056
md = ModelDeployment(properties=md_props)
10571057
mock_from_id.return_value = md

0 commit comments

Comments
 (0)