Skip to content

Commit c8ca3b7

Browse files
navinnsmufaddal-rohawala
authored andcommitted
fix: Add ContentType in test_auto_ml_describe
1 parent 81b77c8 commit c8ca3b7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/integ/test_auto_ml.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
import os
1616

1717
import pytest
18-
import tests.integ
19-
from sagemaker import AutoML, CandidateEstimator, AutoMLInput
20-
2118
from botocore.exceptions import ClientError
19+
20+
import tests.integ
21+
from sagemaker import AutoML, AutoMLInput, CandidateEstimator
2222
from sagemaker.utils import unique_name_from_base
23-
from tests.integ import DATA_DIR, AUTO_ML_DEFAULT_TIMEMOUT_MINUTES, auto_ml_utils
23+
from tests.integ import AUTO_ML_DEFAULT_TIMEMOUT_MINUTES, DATA_DIR, auto_ml_utils
2424
from tests.integ.timeout import timeout
2525

2626
ROLE = "SageMakerRole"
@@ -169,6 +169,7 @@ def test_auto_ml_describe_auto_ml_job(sagemaker_session):
169169
}
170170
},
171171
"TargetAttributeName": TARGET_ATTRIBUTE_NAME,
172+
"ContentType": "text/csv;header=present",
172173
}
173174
]
174175
expected_default_output_config = {
@@ -205,6 +206,7 @@ def test_auto_ml_attach(sagemaker_session):
205206
}
206207
},
207208
"TargetAttributeName": TARGET_ATTRIBUTE_NAME,
209+
"ContentType": "text/csv;header=present",
208210
}
209211
]
210212
expected_default_output_config = {

0 commit comments

Comments
 (0)