@@ -151,35 +151,35 @@ def test_jumpstart_cache_get_header():
151
151
semantic_version_str = "3.*" ,
152
152
)
153
153
assert (
154
- "Unable to find model manifest for tensorflow-ic-imagenet-inception-v3-classification-4 "
155
- "with version 3.* compatible with your SageMaker version (2.68.3). Consider upgrading "
156
- "your SageMaker library to at least version 4.49.0 so you can use version 3.0.0 of "
157
- "tensorflow-ic-imagenet-inception-v3-classification-4." in str (e .value )
154
+ "Unable to find model manifest for ' tensorflow-ic-imagenet-inception-v3-classification-4' "
155
+ "with version ' 3.*' compatible with your SageMaker version (' 2.68.3' ). Consider upgrading "
156
+ "your SageMaker library to at least version ' 4.49.0' so you can use version ' 3.0.0' of "
157
+ "' tensorflow-ic-imagenet-inception-v3-classification-4' ." in str (e .value )
158
158
)
159
159
160
160
with pytest .raises (KeyError ) as e :
161
161
cache .get_header (
162
162
model_id = "pytorch-ic-imagenet-inception-v3-classification-4" , semantic_version_str = "3.*"
163
163
)
164
164
assert (
165
- "Unable to find model manifest for pytorch-ic-imagenet-inception-v3-classification-4 with "
166
- "version 3.*. Consider using model id pytorch-ic-imagenet-inception-v3-classification-4 with "
167
- "version 2.0.0."
165
+ "Unable to find model manifest for ' pytorch-ic-imagenet-inception-v3-classification-4' with "
166
+ "version ' 3.*' . Consider using model ID ' pytorch-ic-imagenet-inception-v3-classification-4' with "
167
+ "version ' 2.0.0' ."
168
168
) in str (e .value )
169
169
170
170
with pytest .raises (KeyError ) as e :
171
171
cache .get_header (model_id = "pytorch-ic-" , semantic_version_str = "*" )
172
172
assert (
173
- "Unable to find model manifest for pytorch-ic- with version * . "
174
- "Did you mean to use model id pytorch-ic-imagenet-inception-v3-classification-4?"
173
+ "Unable to find model manifest for ' pytorch-ic-' with version '*' . "
174
+ "Did you mean to use model ID ' pytorch-ic-imagenet-inception-v3-classification-4' ?"
175
175
) in str (e .value )
176
176
177
177
with pytest .raises (KeyError ) as e :
178
178
cache .get_header (model_id = "tensorflow-ic-" , semantic_version_str = "*" )
179
179
assert (
180
- "Unable to find model manifest for tensorflow-ic- with version * . "
181
- "Did you mean to use model id tensorflow-ic-imagenet-inception-"
182
- "v3-classification-4?"
180
+ "Unable to find model manifest for ' tensorflow-ic-' with version '*' . "
181
+ "Did you mean to use model ID ' tensorflow-ic-imagenet-inception-"
182
+ "v3-classification-4' ?"
183
183
) in str (e .value )
184
184
185
185
with pytest .raises (KeyError ):
0 commit comments