@@ -61,8 +61,8 @@ def test_create_training_job(train, LocalSession):
61
61
resource_config = {'InstanceType' : 'local' , 'InstanceCount' : instance_count }
62
62
hyperparameters = {'a' : 1 , 'b' : 'bee' }
63
63
64
- local_sagemaker_client .create_training_job ('my-training-job' , algo_spec , input_data_config ,
65
- output_data_config , resource_config , HyperParameters = hyperparameters )
64
+ local_sagemaker_client .create_training_job ('my-training-job' , algo_spec , output_data_config , resource_config ,
65
+ InputDataConfig = input_data_config , HyperParameters = hyperparameters )
66
66
67
67
expected = {
68
68
'ResourceConfig' : {'InstanceCount' : instance_count },
@@ -111,8 +111,8 @@ def test_create_training_job_invalid_data_source(train, LocalSession):
111
111
hyperparameters = {'a' : 1 , 'b' : 'bee' }
112
112
113
113
with pytest .raises (ValueError ):
114
- local_sagemaker_client .create_training_job ('my-training-job' , algo_spec , input_data_config ,
115
- output_data_config , resource_config , HyperParameters = hyperparameters )
114
+ local_sagemaker_client .create_training_job ('my-training-job' , algo_spec , output_data_config , resource_config ,
115
+ InputDataConfig = input_data_config , HyperParameters = hyperparameters )
116
116
117
117
118
118
@patch ('sagemaker.local.image._SageMakerContainer.train' , return_value = "/some/path/to/model" )
@@ -141,8 +141,8 @@ def test_create_training_job_not_fully_replicated(train, LocalSession):
141
141
hyperparameters = {'a' : 1 , 'b' : 'bee' }
142
142
143
143
with pytest .raises (RuntimeError ):
144
- local_sagemaker_client .create_training_job ('my-training-job' , algo_spec , input_data_config ,
145
- output_data_config , resource_config , HyperParameters = hyperparameters )
144
+ local_sagemaker_client .create_training_job ('my-training-job' , algo_spec , output_data_config , resource_config ,
145
+ InputDataConfig = input_data_config , HyperParameters = hyperparameters )
146
146
147
147
148
148
@patch ('sagemaker.local.local_session.LocalSession' )
0 commit comments