@@ -209,14 +209,14 @@ def test_log_model_missing_warning_no_model(logger):
209
209
logger .warn .assert_called_with ('No model artifact is saved under path {}.'
210
210
' Your training job will not save any model files to S3.\n '
211
211
'For details of how to construct your training script see:\n '
212
- 'https://github.com/aws/sagemaker-python-sdk/tree/master/src/sagemaker/tensorflow #adapting-your-local-tensorflow-script' # noqa
212
+ 'https://sagemaker.readthedocs.io/en/stable/using_tf.html #adapting-your-local-tensorflow-script' # noqa
213
213
.format (path ))
214
214
215
215
216
216
@patch ('sagemaker_tensorflow_container.training.logger' )
217
217
def test_log_model_missing_warning_wrong_format (logger ):
218
218
training ._log_model_missing_warning (os .path .join (RESOURCE_PATH , 'test_dir_wrong_model' ))
219
- logger .warn .assert_called_with ('Your model will NOT be servable with SageMaker TensorFlow Serving container.'
219
+ logger .warn .assert_called_with ('Your model will NOT be servable with SageMaker TensorFlow Serving container. '
220
220
'The model artifact was not saved in the TensorFlow '
221
221
'SavedModel directory structure:\n '
222
222
'https://www.tensorflow.org/guide/saved_model#structure_of_a_savedmodel_directory' )
@@ -225,7 +225,7 @@ def test_log_model_missing_warning_wrong_format(logger):
225
225
@patch ('sagemaker_tensorflow_container.training.logger' )
226
226
def test_log_model_missing_warning_wrong_parent_dir (logger ):
227
227
training ._log_model_missing_warning (os .path .join (RESOURCE_PATH , 'test_dir_wrong_parent_dir' ))
228
- logger .warn .assert_called_with ('Your model will NOT be servable with SageMaker TensorFlow Serving containers.'
228
+ logger .warn .assert_called_with ('Your model will NOT be servable with SageMaker TensorFlow Serving containers. '
229
229
'The SavedModel bundle is under directory \" {}\" , not a numeric name.'
230
230
.format ('not-digit' ))
231
231
0 commit comments