Skip to content

Commit 85d372d

Browse files
committed
fix: unit tests
1 parent 13efaef commit 85d372d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_tuner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,7 @@ def test_tags_prefixes_jumpstart_models(
16421642
role=ROLE,
16431643
)
16441644

1645-
assert sagemaker_session.create_model.call_args_list[0][0][0].startswith(
1645+
assert sagemaker_session.create_model.call_args_list[0][1]["name"].startswith(
16461646
JUMPSTART_RESOURCE_BASE_NAME
16471647
)
16481648

@@ -1763,7 +1763,7 @@ def test_no_tags_prefixes_non_jumpstart_models(
17631763
role=ROLE,
17641764
)
17651765

1766-
assert not sagemaker_session.create_model.call_args_list[0][0][0].startswith(
1766+
assert not sagemaker_session.create_model.call_args_list[0][1]["name"].startswith(
17671767
JUMPSTART_RESOURCE_BASE_NAME
17681768
)
17691769

0 commit comments

Comments
 (0)