Skip to content

Commit 60ada5b

Browse files
authored
infra: use sagemaker_session fixture in all Airflow tests (#1312)
There were a few instances where the fixture was not passed to the appropriate classes.
1 parent cae397d commit 60ada5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integ/test_airflow_config.py

+2
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ def test_pytorch_airflow_config_uploads_data_source_to_s3_when_inputs_not_provid
618618
train_instance_count=2,
619619
train_instance_type=cpu_instance_type,
620620
hyperparameters={"epochs": 6, "backend": "gloo"},
621+
sagemaker_session=sagemaker_session,
621622
)
622623

623624
training_config = _build_airflow_workflow(
@@ -641,6 +642,7 @@ def test_pytorch_12_airflow_config_uploads_data_source_to_s3_when_inputs_not_pro
641642
train_instance_count=2,
642643
train_instance_type=cpu_instance_type,
643644
hyperparameters={"epochs": 6, "backend": "gloo"},
645+
sagemaker_session=sagemaker_session,
644646
)
645647

646648
training_config = _build_airflow_workflow(

0 commit comments

Comments
 (0)