Skip to content

Commit 5833086

Browse files
committed
update unit test
1 parent 86156bb commit 5833086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def test_get_caller_identity_arn_from_describe_domain_if_no_user_settings(boto_s
372372
@patch("os.path.exists", side_effect=mock_exists(NOTEBOOK_METADATA_FILE, True))
373373
def test_fallback_to_domain_if_role_unavailable_in_user_settings(boto_session):
374374
sess = Session(boto_session)
375-
expected_role = "arn:aws:iam::369233609183:role/service-role/SageMakerRole-20171129T072388"
375+
expected_role = "expected_role"
376376
sess.sagemaker_client.describe_user_profile.return_value = {
377377
"DomainId": "d-kbnw5yk6tg8j",
378378
"UserSettings": {

0 commit comments

Comments
 (0)