Skip to content

Commit 7f460e0

Browse files
committed
Fix the unittests
1 parent 4979d74 commit 7f460e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/unit/test_sagemaker_steps.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ def pca_estimator():
5151
mini_batch_size=200
5252
)
5353

54+
pca.sagemaker_session = MagicMock()
55+
pca.sagemaker_session.boto_region_name = 'us-east-1'
56+
pca.sagemaker_session._default_bucket = 'sagemaker'
57+
5458
return pca
5559

5660
@pytest.fixture

0 commit comments

Comments
 (0)