Skip to content

Commit 169e91b

Browse files
author
Malav Shastri
committed
update tests to address breaking changes
1 parent 6881b23 commit 169e91b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/unit/test_handler_service.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import pytest
1717
import xgboost as xgb
1818
from mock import patch
19-
from sagemaker_containers.beta.framework import content_types, encoders, errors
19+
from sagemaker_training import content_types, encoders, errors
2020

2121
from sagemaker_xgboost_container.handler_service import HandlerService
2222

test/unit/test_serving.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import pytest
1919
import xgboost as xgb
2020
from mock import MagicMock, patch
21-
from sagemaker_containers.beta.framework import content_types, encoders, errors
21+
from sagemaker_training import content_types, encoders, errors
2222

2323
from sagemaker_algorithm_toolkit.exceptions import UserError
2424
from sagemaker_xgboost_container import serving

test/utils/local_mode.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import yaml
2828
from botocore.exceptions import ClientError
2929
from sagemaker import fw_utils, utils
30-
from sagemaker_containers.beta.framework import content_types
30+
from sagemaker_training import content_types
3131

3232
CYAN_COLOR = "\033[36m"
3333
END_COLOR = "\033[0m"

0 commit comments

Comments
 (0)