@@ -164,7 +164,7 @@ def test_byo_training_config_all_args(sagemaker_session):
164
164
@patch ("sagemaker.utils.sagemaker_timestamp" , MagicMock (return_value = TIME_STAMP ))
165
165
def test_framework_training_config_required_args (sagemaker_session ):
166
166
tf = tensorflow .TensorFlow (
167
- entry_point = "{{ entry_point }} " ,
167
+ entry_point = "/some/script.py " ,
168
168
framework_version = "1.10.0" ,
169
169
training_steps = 1000 ,
170
170
evaluation_steps = 100 ,
@@ -206,7 +206,7 @@ def test_framework_training_config_required_args(sagemaker_session):
206
206
"HyperParameters" : {
207
207
"sagemaker_submit_directory" : '"s3://output/sagemaker-tensorflow-%s/source/sourcedir.tar.gz"'
208
208
% TIME_STAMP ,
209
- "sagemaker_program" : '"{{ entry_point }} "' ,
209
+ "sagemaker_program" : '"script.py "' ,
210
210
"sagemaker_enable_cloudwatch_metrics" : "false" ,
211
211
"sagemaker_container_log_level" : "20" ,
212
212
"sagemaker_job_name" : '"sagemaker-tensorflow-%s"' % TIME_STAMP ,
@@ -219,7 +219,7 @@ def test_framework_training_config_required_args(sagemaker_session):
219
219
"S3Operations" : {
220
220
"S3Upload" : [
221
221
{
222
- "Path" : "{{ entry_point }} " ,
222
+ "Path" : "/some/script.py " ,
223
223
"Bucket" : "output" ,
224
224
"Key" : "sagemaker-tensorflow-%s/source/sourcedir.tar.gz" % TIME_STAMP ,
225
225
"Tar" : True ,
0 commit comments