From 06a37f05048139cab0389078ab010c7432a40b10 Mon Sep 17 00:00:00 2001 From: Lu Peng Date: Wed, 20 Sep 2023 18:38:05 -0400 Subject: [PATCH] Updated pr. --- tests/unitary/with_extras/model/test_generic_model.py | 2 +- tests/unitary/with_extras/model/test_model_metadata_mixin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unitary/with_extras/model/test_generic_model.py b/tests/unitary/with_extras/model/test_generic_model.py index 527a2528c..afe1f9f8a 100644 --- a/tests/unitary/with_extras/model/test_generic_model.py +++ b/tests/unitary/with_extras/model/test_generic_model.py @@ -386,7 +386,7 @@ def test_save(self, mock_get_service_packs, mock_dsc_model_create, mock__random_ force_overwrite=True, training_id=None, ) - self.generic_model.save() + self.generic_model.save(ignore_introspection=True) assert self.generic_model.model_id is not None and isinstance( self.generic_model.model_id, str ) diff --git a/tests/unitary/with_extras/model/test_model_metadata_mixin.py b/tests/unitary/with_extras/model/test_model_metadata_mixin.py index 1cdfb162b..ad9b41f7e 100644 --- a/tests/unitary/with_extras/model/test_model_metadata_mixin.py +++ b/tests/unitary/with_extras/model/test_model_metadata_mixin.py @@ -217,7 +217,7 @@ def test_metadata_xgboost_model(self, mock_get_service_packs): assert model.metadata_provenance.training_id is None assert ( model.runtime_info.model_deployment.inference_conda_env.inference_env_path - == "oci://service-conda-packs@id19sfcrra6z/service_pack/cpu/Data_Exploration_and_Manipulation_for_CPU_Python_3.7/3.0/dataexpl_p37_cpu_v3" + == "oci://service-conda-packs@ociodscdev/service_pack/cpu/Data_Exploration_and_Manipulation_for_CPU_Python_3.7/3.0/dataexpl_p37_cpu_v3" ) def teardown_method(self):