@@ -41,7 +41,7 @@ def test_single_automl_step(pipeline_session):
41
41
max_candidates = 1 ,
42
42
max_runtime_per_training_job_in_seconds = 3600 ,
43
43
total_job_runtime_in_seconds = 36000 ,
44
- job_objective = "fake job objective" ,
44
+ job_objective = {} ,
45
45
generate_candidate_definitions_only = False ,
46
46
tags = [{"Name" : "some-tag" , "Value" : "value-for-tag" }],
47
47
content_type = "x-application/vnd.amazon+parquet" ,
@@ -111,7 +111,7 @@ def test_single_automl_step(pipeline_session):
111
111
"VpcConfig" : {"SecurityGroupIds" : ["group" ], "Subnets" : ["subnet" ]},
112
112
},
113
113
},
114
- "AutoMLJobObjective" : "fake job objective" ,
114
+ "AutoMLJobObjective" : {} ,
115
115
"InputDataConfig" : [
116
116
{
117
117
"ChannelType" : "training" ,
@@ -165,7 +165,7 @@ def test_single_automl_step_with_parameter(pipeline_session):
165
165
max_candidates = 1 ,
166
166
max_runtime_per_training_job_in_seconds = 3600 ,
167
167
total_job_runtime_in_seconds = 36000 ,
168
- job_objective = "fake job objective" ,
168
+ job_objective = {} ,
169
169
generate_candidate_definitions_only = False ,
170
170
tags = [{"Name" : "some-tag" , "Value" : "value-for-tag" }],
171
171
content_type = "x-application/vnd.amazon+parquet" ,
@@ -239,7 +239,7 @@ def test_single_automl_step_with_parameter(pipeline_session):
239
239
"VpcConfig" : {"SecurityGroupIds" : ["group" ], "Subnets" : ["subnet" ]},
240
240
},
241
241
},
242
- "AutoMLJobObjective" : "fake job objective" ,
242
+ "AutoMLJobObjective" : {} ,
243
243
"InputDataConfig" : [
244
244
{
245
245
"ChannelType" : "training" ,
@@ -290,7 +290,7 @@ def test_get_best_auto_ml_model(pipeline_session):
290
290
max_candidates = 1 ,
291
291
max_runtime_per_training_job_in_seconds = 3600 ,
292
292
total_job_runtime_in_seconds = 36000 ,
293
- job_objective = "fake job objective" ,
293
+ job_objective = {} ,
294
294
generate_candidate_definitions_only = False ,
295
295
tags = [{"Name" : "some-tag" , "Value" : "value-for-tag" }],
296
296
content_type = "x-application/vnd.amazon+parquet" ,
@@ -399,7 +399,7 @@ def test_automl_step_with_invalid_mode(pipeline_session):
399
399
max_candidates = 1 ,
400
400
max_runtime_per_training_job_in_seconds = 3600 ,
401
401
total_job_runtime_in_seconds = 36000 ,
402
- job_objective = "fake job objective" ,
402
+ job_objective = {} ,
403
403
generate_candidate_definitions_only = False ,
404
404
tags = [{"Name" : "some-tag" , "Value" : "value-for-tag" }],
405
405
content_type = "x-application/vnd.amazon+parquet" ,
@@ -455,7 +455,7 @@ def test_automl_step_with_no_mode(pipeline_session):
455
455
max_candidates = 1 ,
456
456
max_runtime_per_training_job_in_seconds = 3600 ,
457
457
total_job_runtime_in_seconds = 36000 ,
458
- job_objective = "fake job objective" ,
458
+ job_objective = {} ,
459
459
generate_candidate_definitions_only = False ,
460
460
tags = [{"Name" : "some-tag" , "Value" : "value-for-tag" }],
461
461
content_type = "x-application/vnd.amazon+parquet" ,
0 commit comments