@@ -199,11 +199,11 @@ def test_invalid_inputs_required_fields_passed_as_none(self):
199
199
in str (context .exception )
200
200
)
201
201
self .assertTrue (
202
- "The required input notebook(None) is not a valid file." in str (context .exception )
202
+ "The required input notebook (None) is not a valid file." in str (context .exception )
203
203
)
204
204
self .assertTrue (
205
- "The image uri(specified as None) is required and should be hosted in "
206
- "same region of the session(us-west-2)." in str (context .exception )
205
+ "The image uri (specified as None) is required and should be hosted in "
206
+ "same region of the session (us-west-2)." in str (context .exception )
207
207
)
208
208
self .assertTrue ("The kernel name is required." in str (context .exception ))
209
209
@@ -222,19 +222,19 @@ def test_invalid_paths_to_upload(self):
222
222
).arguments
223
223
224
224
self .assertTrue (
225
- "The required input notebook(path/non-existing-file) is not a valid file."
225
+ "The required input notebook (path/non-existing-file) is not a valid file."
226
226
in str (context .exception )
227
227
)
228
228
self .assertTrue (
229
- "The initialization script(path/ non-existing-file ) is not a valid file."
229
+ "The initialization script ( non-existing-script ) is not a valid file."
230
230
in str (context .exception )
231
231
)
232
232
self .assertTrue (
233
- "The path(/tmp/non-existing-folder) specified in additional dependencies "
233
+ "The path (/tmp/non-existing-folder) specified in additional dependencies "
234
234
"does not exist." in str (context .exception )
235
235
)
236
236
self .assertTrue (
237
- "The path(path2/non-existing-file) specified in additional dependencies "
237
+ "The path (path2/non-existing-file) specified in additional dependencies "
238
238
"does not exist." in str (context .exception )
239
239
)
240
240
@@ -251,9 +251,9 @@ def test_image_uri_is_not_in_the_expected_region(self):
251
251
).arguments
252
252
253
253
self .assertTrue (
254
- "The image uri(specified as 236514542706.dkr.ecr.us-east-9.amazonaws.com/"
254
+ "The image uri (specified as 236514542706.dkr.ecr.us-east-9.amazonaws.com/"
255
255
"sagemaker-data-science) is required and should be hosted in "
256
- "same region of the session(us-west-2)." in str (context .exception )
256
+ "same region of the session (us-west-2)." in str (context .exception )
257
257
)
258
258
259
259
def test_invalid_notebook_job_name (self ):
0 commit comments